Unplanned
Last Updated: 14 May 2020 10:16 by ADMIN
ADMIN
Hristo
Created on: 08 Aug 2017 11:12
Category: UI Framework
Type: Feature Request
7
RadControl: Provide mechanism for specifying different images depending on the DPI settings

		
3 comments
ADMIN
Hristo
Posted on: 14 May 2020 10:16

Hello,

I am updating the item with some information how we handle the images in applications on High DPI. 

  1. As of R1 2019 SP1 RadControl exposes a static property - EnableImageDpiScaling, controlling whether the images will be scaled or not. If you are having logic for changing the images in the controls depending on the DPI setting just set the property to false and we will not scale them - https://feedback.telerik.com/winforms/1384139-add-radcontrol-new-property-controlling-whether-the-images-will-be-scaled-on-hdpi.
  2. As of R2 2020 our framework supports vector images. This has been a highly demanded feature and as long as one can provide vector images, the issue with their scaling on High DPI gets resolved - https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/vector-images-support.

The two features mentioned above make handling of the images on High DPI much easier and I hope that you would be able to use them in your apps.

Regards,
Hristo
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
ADMIN
Stefan
Posted on: 14 Aug 2017 12:18
Thank you Robert for your input. We will consider your request.
Robert
Posted on: 08 Aug 2017 15:16
I think this is rather critical issue as far as DPI awareness is concerned. It's nice to have the fonts and controls scale correctly but it really detracts from that effect when the images do not. Notice that Microsoft Office apps scale everything correctly and look much sharper and cleaner than a similar Telerik app. See the attached pics taken at 300 scale for comparison. 

The images are so much cleaner in the MS app than the Telerik app. That can only be accomplished if the appropriate size images are switched at run time. I have written code that accomplishes that part of it with not too much work but unfortunately the Telerik controls are automatically resizing the images. That effect can be turned off in any control that uses image primitives but it appears that the ribbon and control bar do not use image primitives. 

So I think what we need is a switch that can be set at app load that turns off image auto-scaling for developers who want to change to appropriately scaled images manually. It can be left on for developers who do not want to bother with that. 

Robert