RadWizard and Aero mode and Material theme problem
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.
Dess | Tech Support Engineer, Principal
Posted on:30 Mar 2021 12:57
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.