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. How to auto scale screen resolution

How to auto scale screen resolution

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 875 Views 1 Watching
  • 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.
  • L Offline
    L Offline
    LT-K101
    wrote on last edited by LT-K101
    #1

    Hi guys,
    I have three different screens with the following resolutions

    screen 1 - 1366 x 768(Recommended)
    screen2 - 2560 x 1440(Recommended)
    screen 3 - 1920 x 1200(Recommended)

    I have designed an app with Qt designer, when I preview the design on the various screens. I get different results with the UI. I would like to know if there is a way to auto scale the app window when the app detects a new resolution. Thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • L LT-K101

      Hi guys,
      I have three different screens with the following resolutions

      screen 1 - 1366 x 768(Recommended)
      screen2 - 2560 x 1440(Recommended)
      screen 3 - 1920 x 1200(Recommended)

      I have designed an app with Qt designer, when I preview the design on the various screens. I get different results with the UI. I would like to know if there is a way to auto scale the app window when the app detects a new resolution. Thanks in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @LT-K101 said in How to auto scale screen resolution:

      I get different results with the UI

      In what way?
      Do you use layouts?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • jsulmJ jsulm

        @LT-K101 said in How to auto scale screen resolution:

        I get different results with the UI

        In what way?
        Do you use layouts?

        L Offline
        L Offline
        LT-K101
        wrote on last edited by
        #3

        @jsulm Yes I do use layouts. But when I set all screens to same resolution I get same result

        jsulmJ 1 Reply Last reply
        0
        • L LT-K101

          @jsulm Yes I do use layouts. But when I set all screens to same resolution I get same result

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @LT-K101 said in How to auto scale screen resolution:

          But when I set all screens to same resolution I get same result

          Sorry I still do not understand what exactly the problem is...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          L 1 Reply Last reply
          0
          • jsulmJ jsulm

            @LT-K101 said in How to auto scale screen resolution:

            But when I set all screens to same resolution I get same result

            Sorry I still do not understand what exactly the problem is...

            L Offline
            L Offline
            LT-K101
            wrote on last edited by LT-K101
            #5

            @jsulm Please see the images below. Now screen 2 and 3 are set to 1920 x 1080 and screen 1 is set to 1366 x 768. I believe you will understand what I'm trying to put across now.

            Preview image from Screen 1
            Screen-1.png

            Preview image from Screen 2 and 3
            Screen-2 and 3.png

            A 1 Reply Last reply
            0
            • L LT-K101

              @jsulm Please see the images below. Now screen 2 and 3 are set to 1920 x 1080 and screen 1 is set to 1366 x 768. I believe you will understand what I'm trying to put across now.

              Preview image from Screen 1
              Screen-1.png

              Preview image from Screen 2 and 3
              Screen-2 and 3.png

              A Offline
              A Offline
              AMIRSiaM
              wrote on last edited by
              #6

              @LT-K101 Have You Found Solution in This issue ?

              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