Results 1 to 5 of 5

Thread: Question about screen resolution, dpi and font size

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Question about screen resolution, dpi and font size

    Your image links don't work in Firefox. Why didn't you simply upload the images to the forum? There's even an "Insert Image" icon to do that...

    However, I think I know what you mean. I use a 4K monitor (3840 x 2160). Normal Windows fonts are too small for me to read easily, so I used Windows "Customize your display" settings to increase the font size to 125% of normal. I noticed that some of my Qt apps did not react to this change properly, possibly those running with Qt 5.4, and especially those where I had designed GUI elements with fixed maximum sizes.

    Ask your user if that is what he has done. You can simulate it (in Windows, anyway) using Settings->Display and increasing the text size. My fix was to either remove the size restrictions on labels, pushbuttons, etc. or to increase them so the text would fit when viewed on my screen. With any new GUIs, I use layouts wherever possible, and give them room to grow if necessary by adding horizontal or vertical stretch elements. In Qt 5.5 at least, I haven't noticed any further problems.

  2. The following user says thank you to d_stranz for this useful post:

    pixaeiro (13th April 2016)

Similar Threads

  1. Qt Creator Welcome screen and help screen font size
    By zd3nik in forum Qt Tools
    Replies: 0
    Last Post: 23rd November 2013, 17:57
  2. Font size according to the resolution
    By pssss in forum Qt Programming
    Replies: 0
    Last Post: 2nd September 2011, 10:07
  3. Windows Mobile VGA Screen font size problem
    By LordG in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 25th November 2010, 09:13
  4. Replies: 8
    Last Post: 20th June 2010, 19:15
  5. Replies: 1
    Last Post: 27th March 2008, 15:10

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.