Under Review
Last Updated: 30 Mar 2021 12:57 by ADMIN
Mi
Created on: 27 Mar 2021 17:27
Category: Wizard
Type: Bug Report
0
RadWizard and Aero mode and Material theme problem

To reproduce:

  • create a new project with Telerik RadForm, HighDPI
  • add material theme, activate the theme
  • add RadWizard, activate the theme
  • change the wizard to Aero mode

In the preview the PageTitle of the wizard page is visible. Run the project and the PageTitle isn't visible anymore. The color of the PageTitle background is also not correct. I think there is a problem with the resources.

1 comment
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 30 Mar 2021 12:57

Hello, Mi, 

According to the provided information, it seems that you are designing your application on a monitor with higher than 100% DPI scaling. Could you please confirm that?

If your development machine has HDPI monitor and the scaling settings are larger than 100%, this can cause issues with the layout because opening the designer on such machines will set the AutoScaleDimensions property (the default value in Designer.cs is SizeF(6F, 13F)). In the AutoScaleDimensions property the Visual Studio designer will serialize the dimensions of the unit used for comparison (either Font or DPI). These are the dimensions of the unit on the system the form is being designed on. When you run the form on a system with different settings, its dimensions are obtained and compared against the serialized dimensions. The scaling factor is computed based on that and then it is applied. And if a wrong factor is passed, the application can look smaller or larger than it should be. Please make sure that this property has its default value (SizeF(6F, 13F)).

Design your forms under 96 DPI (100%) – as mentioned above, Visual Studio will serialize the scaling size of the form at design time and there are often problems when the form has been designed under higher DPI. Thus, RadWizard is expected to produce better layout.

In order to produce as good layout as possible when running your application on monitors with different DPI scaling, it is important to have some thoughts in mind before you start designing the application:
https://docs.telerik.com/devtools/winforms/knowledge-base/hdpi-tips-and-tricks#general-tips-for-designing-scalable-winforms

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
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.