DPI settings

6 posts, 1 answers
  1. Chris Kirkman
    Chris Kirkman avatar
    101 posts
    Member since:
    Apr 2010

    Posted 28 Jun 2018 Link to this post

    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.

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    2728 posts

    Posted 29 Jun 2018 Link to this post

    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.
  3. Chris Kirkman
    Chris Kirkman avatar
    101 posts
    Member since:
    Apr 2010

    Posted 10 Jul 2018 in reply to Dimitar Link to this post

    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.

  4. Dimitar
    Admin
    Dimitar avatar
    2728 posts

    Posted 11 Jul 2018 Link to this post

    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.
  5. Chris Kirkman
    Chris Kirkman avatar
    101 posts
    Member since:
    Apr 2010

    Posted 17 Jul 2018 in reply to Dimitar Link to this post

    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.

  6. Dimitar
    Admin
    Dimitar avatar
    2728 posts

    Posted 18 Jul 2018 Link to this post

    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.
Back to Top