Completed
Last Updated: 09 Oct 2020 13:45 by ADMIN
Release R3 2020 SP1
Sivaganesh
Created on: 11 Sep 2020 08:11
Category: ShapedForm
Type: Bug Report
0
RadShapedForm: Can't disable scaling for shaped Form

RadControl.EnableDpiScaling = false; is not working for shaped forms.

in the attachment dpi1.png is how shaped forms looking in the high dpi , dpi2.png  is what expected one

 

 

Attached Files:
1 comment
ADMIN
Nadya | Tech Support Engineer
Posted on: 13 Sep 2020 14:45

Hello, Rajesh,

You are right, currently the RadControl.EnableDpiScaling does not disable the scaling on the shaped form. This is why I have logged this issue in our feedback portal by making this thread public. You can track its progress, subscribe for status changes, and add your comments on the following link - feedback item.

I have updated your Telerik Points for the report.

To work around it, I can suggest overriding the ScaleControl method of your shaped form. 

 public partial class ShapedForm1 : Telerik.WinControls.UI.ShapedForm
 {
     public ShapedForm1()
     {
         InitializeComponent();
     }

     protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
     {
        
     }
 }
 

I hope this helps. Let me know if you have other questions.

Regards,
Nadya
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).