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

Inconsistency in Windows7 theme

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jaroslav Půbal
Top achievements
Rank 1
Jaroslav Půbal asked on 03 Dec 2010, 10:19 AM
In Windows7Theme this componnets alongside look bad.
http://img819.imageshack.us/img819/4333/themewin7.jpg


In other themes same screen looks good.

3 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 08 Dec 2010, 08:56 AM
Hello Jaroslav Půbal,

The Windows7 theme is the only theme that is different from all other Telerik themes in a number of ways, including the Navigation Header height in RadScheduler. It is intended to be so by design.

You can easily make the header of RadScheduler consistent in height with the header of RadCalendar. Use NavigationHeaderStyle property:

<Style x:Key="NavigationHeaderStyle" TargetType="Border">
    <Setter Property="Height" Value="32" />
</Style>

<telerik:RadScheduler telerik:StyleManager.Theme="Windows7" NavigationHeaderStyle="{StaticResource NavHeaderStyle}" />


Greetings,
Dani
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Jaroslav Půbal
Top achievements
Rank 1
answered on 11 Dec 2010, 01:19 AM
This solve different size of headers, but dont solve different colors of headers.

Anyway realy not good solution to have diverse XAML code for varied Themes.
0
Dani
Telerik team
answered on 11 Dec 2010, 10:41 AM
Hi Jaroslav,

Please, check the attached  sample which illustrates the modification both of the size and background color of RadScheduler for Windows7 theme. The approach is extremely easy and basic. The different RadScheduler design was intended to bring more diversity than a mere color variation of a theme would bring.

All the best,
Dani
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
General Discussions
Asked by
Jaroslav Půbal
Top achievements
Rank 1
Answers by
Dani
Telerik team
Jaroslav Půbal
Top achievements
Rank 1
Share this question
or