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

[Solved] Adjusting the Height of the Window Titlebar

2 Answers 104 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Darrien
Top achievements
Rank 1
Darrien asked on 21 Feb 2011, 02:20 PM
I'm trying to format the text within the Titlebar of the MVC window, but the larger font cuts off the within the titlebar.  I then tried to adjust the height, but the tag below did not work.  Ideas?

.t-window-title
{
    font-size:24px;
    font-family:Trebuchet MS;
    font-weight:bold;
    color:White;
    height:45px !important;
}

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 22 Feb 2011, 08:51 AM
Hi Darrien,

The Window title area is constructed with the following HTML markup:

<div class="t-window-titlebar t-header">
    <span class="t-window-title">...title here...</span>
    <div class="t-window-actions t-header">...buttons here...</div>
</div>

The parent <div> has a font-size and line-height styles applied, while the inner <span> is absolutely positioned.

In order to increase the font size easily, please use a CSS style, which targets the parent div.t-window-titlebar element, instead of styling the inner <span>. For example:

div.t-window-titlebar
{
    font-size: 24px;
    line-height: 1.2;
}

In this way there will be no need to set any height.


Best wishes,
Dimo
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Darrien
Top achievements
Rank 1
answered on 01 Mar 2011, 01:36 PM
This worked great; thanks.
Tags
Window
Asked by
Darrien
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Darrien
Top achievements
Rank 1
Share this question
or