Make Controls render correctly on DPI aware applications

8 posts, 0 answers
  1. erwin
    erwin avatar
    381 posts
    Member since:
    Dec 2006

    Posted 09 Jan Link to this post

    With High DPI displays increasingly appearing in corporate environments, it would be nice if the Telerik Controls would render correctly in DPI aware applications.

    Controls that are direct replacements for WinForms Standard controls such as Textbox, Tree, Checkbox, Label etc. should in their default configuration render identically to the Microsoft .net standard controls in .Net 4.6.1.

    Controls that draw content such as ReportViewer, ChartView, Print Preview etc. should behave as expected. That is, by default, their content should render consistently relative to the size of the control in the same way regardless of the DPI settings.

    Graphical elements in the controls should scale according to the control and provide different resolution graphics to support at least the standard settings of Windows 10 (125,150,175,200%).

    Regards

    Erwin

  2. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 10 Jan Link to this post

    Hi Erwin,

    Thank you for writing.

    Please note that by default the WinForms applications are not DPI aware. Such applications are scaled automatically by the operating system (they look a little blurry when scaled). Currently, we do not provide support for automatic DPI scaling and you need to manually handle this. Detailed information is available here: WinForms Scaling at Large DPI Settings–Is It Even Possible?

    In addition, your feedback is valuable and we are already doing some research about implementing DPI support in our controls. 

    I hope this information is useful.

    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. erwin
    erwin avatar
    381 posts
    Member since:
    Dec 2006

    Posted 10 Jan in reply to erwin Link to this post

    Hi Dimitar,

    I'm fully aware that the application must handle some of the scaling manually, but that does not help if the controls do not render their internal elements correctly. 

    Regards
    Erwin

     

  4. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 10 Jan Link to this post

    Hi Erwin,

    When the application is made DPI aware it should look exactly the same as when no scaling is applied. Could you please specify which control you are pointing at and perhaps give us a snapshot of the current invalid layout? 

    I am looking forward to your reply.
     
    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  5. erwin
    erwin avatar
    381 posts
    Member since:
    Dec 2006

    Posted 10 Jan in reply to Dimitar Link to this post

    I have added a screenshot with an example of what I mean. First jpeg ist at 100% 2nd at 150%

  6. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 11 Jan Link to this post

    Hello Erwin,

    This is expected since the default font is enlarged. At this point, we do not have support for scaling images and controls out of the box. So images and controls scaling must be handled manually. There is a sample application in the blog noted in my firs post which shows how you can determine the current DPI settings and change particular control properties. Currently, this is the only approach for handling this. 

    I hope this information is useful. Let me know if you need further assistance.

    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  7. erwin
    erwin avatar
    381 posts
    Member since:
    Dec 2006

    Posted 11 Jan Link to this post

    Hi Dimitar,

    that's why I filed it under New Product Suggestions. The feature would be that all these things like scaling of internal graphic elements of the controls according to font size / dpi settings would just be handled by the suite. Additional hooks might be necessary where the application can provide images for different scaling factors etc. 

    Regards

    Erwin

  8. Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 11 Jan Link to this post

    Hi Erwin,

    Your feedback is greatly appreciated. Please note that you are not the first that requests this and we are aware that it will be useful for our clients. At this point, we are making a general research about how it can be implemented in our controls.

    Thank you again for the feedback.

    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top