Theme color variation causes the window controls to not show

4 Answers 63 Views
Styling
Mark
Top achievements
Rank 1
Iron
Mark asked on 06 Aug 2023, 12:26 PM | edited on 07 Aug 2023, 07:58 AM

Have set a theme at the application level (Windows11Palette) but no matter how I set the colour variation, when it is set then the windows controls are not visible

I have tried the following:

StyleManager.ApplicationTheme = new Windows11Theme(Windows11Palette.ColorVariation.Dark);

Also:

StyleManager.ApplicationTheme = new Windows11Theme();

Windows11Palette.LoadPreset(Windows11Palette.ColorVariation.Dark);

Without the theme colour, then the controls are visible

 

Dinko
Telerik team
commented on 08 Aug 2023, 12:42 PM

I attached a sample solution, where I set a Windows11Theme and use the Windows11Palette.I tested it, and new theme is successfully applied.

4 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
Iron
answered on 08 Aug 2023, 01:22 PM

Here is my app in dark mode (win11)

 

0
Mark
Top achievements
Rank 1
Iron
answered on 08 Aug 2023, 01:36 PM

Thanks Dinko. So I ran your application it works perfectly, was the same code as mine. I tried again, and I have more controls now, so it seems like it is the menu items that have the issue. I copied my menu code over to your app, and it works perfectly.

Here is my app in Win11 light mode: 

Here is my app in Win11 dark mode:

Here is your app with my menu code (excuse the menu size):

0
Mark
Top achievements
Rank 1
Iron
answered on 08 Aug 2023, 01:36 PM

Here is it in light Win11:

 

0
Dinko
Telerik team
answered on 10 Aug 2023, 12:27 PM

Hello Mark,

May I ask you could share if a solution has been reached, regarding the topic of this forum thread? 

Regards,
Dinko
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.

Tags
Styling
Asked by
Mark
Top achievements
Rank 1
Iron
Answers by
Mark
Top achievements
Rank 1
Iron
Dinko
Telerik team
Share this question
or