Treeview High DPI Support

6 posts, 0 answers
  1. erwin
    erwin avatar
    398 posts
    Member since:
    Dec 2006

    Posted 21 Dec 2016 Link to this post

    Hi,

    I'm playing around with DPI awareness. Most things scale as expected (the grid for example) but it seems to me that the Treeview does not size the items according to the Font (the font scales as I would expect but gets truncated, the height of the listitems seems to be unchanged). What am I missing?

    Regards

    Erwin

  2. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 22 Dec 2016 Link to this post

    Hi Erwin,

    Thank you for writing.

    In the case of RadTreeView and higher DPI settings, it might be also necessary to set the ItemHeight property of the control. We have a blog post discussing WinForms and DPI scaling. It also features a project with a RadTreView control which might help you in your actual application: http://www.telerik.com/blogs/winforms-scaling-at-large-dpi-settings-is-it-even-possible-

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo
    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
    398 posts
    Member since:
    Dec 2006

    Posted 24 Dec 2016 in reply to Hristo Link to this post

    Digging in a bit more on this, it seems to me that High DPI Support is inconsistent with the Telerik Controls for Windows Forms. For example on Dialogs, Textboxes and Buttons scale as expected while the Checkbox does not. What's the policy regarding support of high DPI?
  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3224 posts

    Posted 26 Dec 2016 Link to this post

    Hello Erwin, 

    Thank you for writing back. 
      
    There is no built-in High DPI Support in the Telerik UI for WinForms suite. As it is demonstrated in the referred blog post, it should be handled manually per each control. You can follow the approach in the provided projects from the blog.
     
    I hope this information helps. If you have any additional questions, please let me know. 

    Regards,
    Dess
    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
    398 posts
    Member since:
    Dec 2006

    Posted 26 Dec 2016 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Well 'Support' might be the wrong word. What I mean is that the controls should resize in a consistent way based on the Windows Forms scaling settings etc. For example the RadTextBox resizes with Windows Forms Font scaling, while the CheckBox does not.

    Another area are the container controls. I get the feeling that some Telerk container controls behave inconsistently when docked or anchored, especially when used within User Controls and other containers such as RadDock or RadPageView. In my App, this can usually be fixed by placing a Standard Panel controls in between the container and the contained controls. 

     

  6. Hristo
    Admin
    Hristo avatar
    1508 posts

    Posted 27 Dec 2016 Link to this post

    Hi Erwin, 

    Thank you for writing back.

    In order to investigate the behavior on your end, I am going to need detailed information about your local settings and the controls you are using.

    If it would be possible please open up a support ticket and send us a small sample as per your actual scenario. 

    I hope this helps. Please let me know if you need further assistance.

    Regards,
    Hristo
    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