Results 1 to 3 of 3

Thread: Qt Font too big

  1. #1

    Default Qt Font too big

    Hello,

    as you see on my screenshot,

    fontissue.jpg

    the fonts in my application are quiet big compared to standard windows, although i set font to the smallest possible font: Sergoe UI 6 pt. I dont know why it still is so big. Any hints?

    May there be a problem that i use a 2560x1440 Pixel screen?

    Best regards

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt Font too big

    You should not need to set the font size at all if your system is configured properly. Setting an absolute font size will force that size even on systems with a much larger default font making the user unable to read anything from your UI.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3

    Default Re: Qt Font too big

    Hey, thanks. The text was surrounded with html tags to set font size to 12... :/ My fault! You can delete this if you want.

Similar Threads

  1. unable to find font when placed under lib/font dir
    By menkey18 in forum Qt Programming
    Replies: 6
    Last Post: 14th December 2012, 07:45
  2. Replies: 1
    Last Post: 30th March 2012, 16:46
  3. Font Height and width based on font size
    By Ghufran in forum Qt Programming
    Replies: 1
    Last Post: 31st July 2010, 08:02
  4. Change Font of QListWidget to Monospace Font
    By pospiech in forum Qt Programming
    Replies: 3
    Last Post: 25th July 2008, 18:23
  5. font incorrectly show - font break.
    By sgh in forum Qt Programming
    Replies: 9
    Last Post: 30th May 2008, 02:35

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.