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

DPI settings

5 Answers 37 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris Kirkman
Top achievements
Rank 1
Chris Kirkman asked on 28 Jun 2018, 12:16 PM

For years we've just accepted that running at a different DPI than 100% causes our WinForms app with Telerik to be less than useful.  All the text of words ends of being shrunk with dots.  I.e. "Welcome" would become "Welc…" in the UI on labels, buttons, etc.

Is there a way to overcome this?  With users and their 4K monitors at 350% DPI our application is no longer useable.

5 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar
Telerik team
answered on 29 Jun 2018, 08:09 AM
Hello Chris,

The case where there are dots after each string is observed when the application becomes DPI aware at run-time. This happens because all WPF applications are DPI-aware by default and as soon as a type from WPF assmbly is used the entire application becomes DPI-aware (our export functionality uses such assemblies). There are two options for solving this:
  • Explicitly make the application DPI-unaware (this works in Windows 10 only). This is described in the following article: HDPI Tips and Tricks.
  • Explicitly make the application DPI-aware. This way the application will be scaled while the layout is initialized and you will not see the dots. We have added a HDPI support in R2 2017 and if you are using this or newer version your controls will be scaled automatically. The following article describes this along with how to make the application DPI-aware - DPI Support.

I hope this will be useful. Let me know if you have additional questions.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Chris Kirkman
Top achievements
Rank 1
answered on 10 Jul 2018, 01:30 PM

I haven't tried the 1st option yet; however, the 2nd option isn't working for us automatically.  We're currently using "2018.1.220.40" via the nuget packages you host on your site and still have this problem.

I'll try option #1 and let you know how that works for us.

0
Dimitar
Telerik team
answered on 11 Jul 2018, 07:20 AM
Hi Chris,

Ok, if possible could you share why exactly this is not working? Is the layout disturbed or something else?

I am looking forward to your reply.
 
Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Chris Kirkman
Top achievements
Rank 1
answered on 17 Jul 2018, 01:54 PM

Using the app.manifest worked.  I didn't completely overwrite the one generated with the XML in your link.  After doing that it works fine.

 

Thanks.

0
Dimitar
Telerik team
answered on 18 Jul 2018, 09:42 AM
Hi Chris,

I am glad that this works now. Do not hesitate to contact us if you have other questions.
 
Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
General Discussions
Asked by
Chris Kirkman
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Chris Kirkman
Top achievements
Rank 1
Share this question
or