Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. What's the best practice for non resizable, fixed size app?
Forum Updated to NodeBB v4.3 + New Features

What's the best practice for non resizable, fixed size app?

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 271 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.
  • M Offline
    M Offline
    Mizmas
    wrote on last edited by Mizmas
    #1

    Hello, I'm a little confused about high dpi scaling. I'm using qt designer and I want to make sure that my app looks the same on all systems and resolution scaling settings. I have all my widgets in a layout, set a to minimum size policy (all the widgets have the same minimum and maximum size).

    I've tried disabling high dpi scaling, but all the text is still scaling with different Windows scale settings.
    Here's how my app looks with scaling disabled(os.environ['QT_ENABLE_HIGHDPI_SCALING'] = '0'):

    125%
    gdgfdhn.png

    175%
    gggggggggggg.png

    With dpi scaling enabled:

    125%
    ggfhfhfhhfh.png

    175%
    Screenshot_1.png

    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