Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. font size changes and its too big
Qt 6.11 is out! See what's new in the release blog

font size changes and its too big

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 889 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xdma
    wrote on last edited by
    #1

    I am writing first app in Qt for Windows. Its tool application dedicated for special hardware connected to it via usb - I dont want to use scalling - window should have fix size.

    The problem appears when I try to run app on Windows where user have changed globally in OS system settings scaling font to 150% (screen settings in Windows 10). All text widgets are here overflowing and cutted.
    When I run this app with defalut 100% scalling everything looks good as projected to fit in designed size.
    So question: how to prevent QT from scalling text and dont allow qt to use Windows font settings ?
    This problem occurs also when I have two monitors connected to computer: one with scalling 150% and other with 100%. When I drag window from one monitor to another all text are changing to overflowed and cuted when app is shown on scalled monitor fonts.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved