Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

office2013 theme

$
0
0
Hi Raul,

Straight to your questions:
  1. I wanted to reduce the font sizes because they are too large for my taste. It was no problem to set new sizes for the fonts, but the controls have a MinHeight value that prevents that the control adapts to the new size so that there is no space gain. Therefore I have defined in the ResourceDictionary that all relevant controls should have a MinHeight of 0. Why do the controls have such a large default MinHeight?
    • Telerik Office2013 theme was inspired by Microsoft Office 2013 which controls' default height is set to 26. And you need to modify the height of each control in order the height to be smaller. You may need to add some additional padding to make the controls look good.
  2. As soon as I add "component/Themes/Telerik.Windows.Controls.Docking.xaml" I will get an exception. I don't know if I need it, but most examples I have seen are also using that line. They are also using the RibbonView.xaml line, which also causes an exception on my program.
    • Unfortunately, I was not able to reproduce this exception at our side. I've attached a sample project with the provided XAML, where the Telerik.Windows.Controls.Docking.xam is merged and the project works as expected.
  3. The style definition for Label throws an exception if I use: BasedOn="{StaticResource LabelStyle}". Is this normal? Didn't expect it because I don't have any issues with the TextBox style definition.
    • In order to use BasedOn={StaticResource LabelStyle}, the label style TargetType should be TargetType="telerik:Label".

      <Style TargetType="telerik:Label" BasedOn="{StaticResource LabelStyle}">
           <Setter Property="MinHeight" Value="0"/>
           <Setter Property="Padding" Value="4 3"/>
      </Style>
  4. The most strange issue I'm having comes from the filter popup window of the RadGridView (see attached image). As you can see the window sometimes does not close automatically. And one of the popup windows uses the wrong ComboBox. It's always on the same column but it is ok as soon as I remove the RadComboBox style definition from above. 
    • From the screenshots, it seems that somehow RadComboBox inherited the default OfficeBlack. Can you confirm that used binaries are NoXaml? It would be really helpful if you can modify the attached project with this behavior in order to give you the solution to this problem.
  5. How can I change the Filter-Symbol color from the column header when filtering is active. I would like to have a color that is more visible (yellor or red)?
    • You need to modify the control template of GridViewHeaderCell and add triggers to the grid:FilteringDropDown button name PART_DistinctFilterControl. Also, you need to update and the control template of FilteringDropDownStyle in order the trigger changes to be applied. I demonstrated how this can be achieved in the attached project.

I hope this information would be helpful.

Regards,
Masha
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles