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. windows application scaling
QtWS25 Last Chance

windows application scaling

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 188 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.
  • A Offline
    A Offline
    arunkannan
    wrote on 11 Jul 2024, 11:18 last edited by
    #1

    I developed my GUI using Qt designer 5.14.1 on Windows 11 with resolution 1366 x 768(maximum) and scaling 100%(recommended). When I use my Python application with this GUI with fixed window size 1366, 768 on a different computer with resolution 1900 x 1080(maximum) and scaling 150%(recommended) the GUI contents shrink in size and the texts become scaled out of size and overlap on other widgets. How do I have the same size for the GUI contents irrespective of screen resolution and scaling?

    C 1 Reply Last reply 11 Jul 2024, 11:30
    0
    • A arunkannan
      11 Jul 2024, 11:18

      I developed my GUI using Qt designer 5.14.1 on Windows 11 with resolution 1366 x 768(maximum) and scaling 100%(recommended). When I use my Python application with this GUI with fixed window size 1366, 768 on a different computer with resolution 1900 x 1080(maximum) and scaling 150%(recommended) the GUI contents shrink in size and the texts become scaled out of size and overlap on other widgets. How do I have the same size for the GUI contents irrespective of screen resolution and scaling?

      C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 11 Jul 2024, 11:30 last edited by
      #2

      @arunkannan said in windows application scaling:

      How do I have the same size for the GUI contents irrespective of screen resolution and scaling

      Use layouts: https://doc.qt.io/qt-6/layout.html

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2

      1/2

      11 Jul 2024, 11:18

      • Login

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