DPI scaling not performed in RadPageView

1 Answer 274 Views
PageView
Sven
Top achievements
Rank 1
Sven asked on 09 May 2022, 04:33 PM

I have a RadPageView control in a RadForm. When I show the form, the first RadPageViewPage is scaling regarding DPI as expected. But when I select the second RadPageViewPage it is not scaled. When I move the form to another screen and back, it is scaled as expected. The RadPageViewPAge contains a UserControl with another RadPageView control.

As expected:

Too small:

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 10 May 2022, 10:10 AM

Hi, Sven,

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 

I would like to note that in the upcoming R2 2022 (scheduled for this week) we have added some improvements to how our controls are scaled in their parent Forms/RadForms. The following improvements are listed below. These new functionalities are controlled by the static RadControl.EnableRadAutoScale property. In a case, you want to disable these improvements you can set it false.
- RadControl is dynamically scaled now when it is added runtime.
- RadControl is scaled correctly in a System.Windows.Forms.Form.
- RadControl is scaled correctly in an UserControl.
- Scaling works in all .NET versions and DPI Awareness modes combinations except in .Net4 Framework. In this version, the scaling will not work in Microsoft Form.
- Fixed various DPI-related scaling issues.
Stay tuned and once the version is released, you can give your project another try. As I noted in the support ticket you have opened on the same topic, an alternative approach is to test your project in advance on our end. You can provide your project in the support ticket and we will have a look at it.

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

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

Sven
Top achievements
Rank 1
commented on 11 May 2022, 06:29 AM

Thank you - seems like the perfect timming.
Dess | Tech Support Engineer, Principal
Telerik team
commented on 11 May 2022, 08:47 AM

Hi, Sven,

R2 2022 is officially released and it is available for downloading in your Telerik account:

Please give it a try and see how the DPI improvements work on your end. Please let me know what is the observed result.

Tags
PageView
Asked by
Sven
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or