This is a migrated thread and some comments may be shown as answers.

Treeview High DPI Support

5 Answers 308 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
erwin
Top achievements
Rank 1
Veteran
Iron
erwin asked on 21 Dec 2016, 04:59 PM

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

5 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 22 Dec 2016, 09:06 AM
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.
0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 24 Dec 2016, 10:57 AM
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?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Dec 2016, 09:25 AM
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.
0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 26 Dec 2016, 02:43 PM

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. 

 

0
Hristo
Telerik team
answered on 27 Dec 2016, 12:40 PM
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.
Tags
Treeview
Asked by
erwin
Top achievements
Rank 1
Veteran
Iron
Answers by
Hristo
Telerik team
erwin
Top achievements
Rank 1
Veteran
Iron
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or