This is a migrated thread and some comments may be shown as answers.

Title text width

5 Answers 88 Views
Window
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Louis asked on 23 Sep 2008, 07:00 PM
We are trying to figure out how to get a long title to appear in a relatively small radwindow and have exhausted all of our lines of research on this. The issue is that the title bar is divided into a 3-cell table, with the first cell used for the icon, the second for the title and the third for the control buttons.

Regardless what we try, it appears that the 2nd and 3rd cells always divided the available space 50/50, but our title for this window needs to consume about 80% of the available space.

I am not sure that this can be implemented through the available classes/configuration, but it would be incredibly helpful if it could be or if someone knows of a workaround that we might have missed.

Thank you!

5 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 26 Sep 2008, 09:52 AM
Hi Karl,

I am not quite sure how exactly you want the titlebar to look but I assume that you want to replicate the behavior of the standard browser window. When the title of the page is too long to be displayed, the standard browser window cuts off a part of it and replaces the rest of it with  '...'.

When using RadWindow, you can achieve this by setting fixed layout to the table element which holds the title. In order to do this, include the following style in your page's head: 

<style type="text/css">  
    .titlebarcontrols  
    {  
      table-layoutfixed !important;  
    }  
    </style> 


Best wishes,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Louis
Top achievements
Rank 1
answered on 26 Sep 2008, 03:48 PM
What we are looking for is the ability for the title to extend more than halfway across the width of the title bar. The title is already clipped with ellipses, but the clipping occurs in the middle of the title bar and leaves a lot of white space between the end of the text and the close button.
0
Martin
Telerik team
answered on 30 Sep 2008, 12:17 PM
Hello Karl,

Unfortunately, at present the width of the minimized RadWindow is hardcoded and no custom width can be set. We are considering to allow such option, but at present we cannot be of much help on this issue.

Greetings,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Louis
Top achievements
Rank 1
answered on 30 Sep 2008, 03:10 PM
I still don't think that you understand what we are looking for. It is not the width of the minimized window, it is the width of the text in the title bar when NOT minimized. Only 50% of the title bar can be used for the title text, the other 50% is for the buttons. This does not seem like a reasonable distribution.
0
Martin
Telerik team
answered on 02 Oct 2008, 05:46 AM
Hello Karl,

Please, if possible, open a new support ticket and send us a small running project, along with your styles, html and the RadWindow skin that you are using, as this will be much easier for us to try to fix the problem and help.

Sincerely yours,
Martin Ivanov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Louis
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Louis
Top achievements
Rank 1
Martin
Telerik team
Share this question
or