RadDropDownButton is cut at the bottom when using windows 11 style, how to fix it?

2 Answers 30 Views
Buttons
Dominik
Top achievements
Rank 1
Iron
Iron
Dominik asked on 12 Jan 2024, 01:58 PM

As you can see in the picture the button just gets cut. It only does this if the hight is less than 38

<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="70"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid Grid.Row="1" > <telerik:RadDropDownButton HorizontalAlignment="Right" Margin="0,0,20,10" Background="#EFEFEF" Padding="5,0,0,0" Height="24" BorderThickness="1" BorderBrush="LightGray" CornerRadius="5" telerik:StyleManager.Theme="Windows11" > <telerik:RadDropDownButton.Content>


2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 22 Jan 2024, 11:36 AM

Hi Dominik,

I was able to reproduce this. It seems that the theme has a setting for a MinHeight as well. To override it you need to set the MinHeigh property: 

<telerik:RadButton Content="Test" FontSize="5" telerik:StyleManager.Theme="Windows11" MinHeight="20" Height="30" BorderBrush="Black"/>

I hope this helps. Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Dimitar
Telerik team
answered on 16 Jan 2024, 06:41 AM

Hello Dominik,

I was not able to reproduce this. I have created a test project that shows what I am doing. Could you please check it and let me know what I am missing? 

Thank you in advance for your patience and cooperation. 

Regards,
Dimitar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dominik
Top achievements
Rank 1
Iron
Iron
commented on 18 Jan 2024, 01:52 PM

Yeah with the office black style it works but if i use the windows 11 style and the height bellow 38 it gets cut of

<telerik:RadButton Content="Test" telerik:StyleManager.Theme="Windows11" Height="30" BorderBrush="Black"/>

Tags
Buttons
Asked by
Dominik
Top achievements
Rank 1
Iron
Iron
Answers by
Dimitar
Telerik team
Share this question
or