Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt creator 4.2.1 UI is huge and doesn't fit on my screen
Forum Updated to NodeBB v4.3 + New Features

Qt creator 4.2.1 UI is huge and doesn't fit on my screen

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 3 Posters 5.7k Views 5 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.
  • D Offline
    D Offline
    DeepSOIC
    wrote on last edited by DeepSOIC
    #1

    Hi there!!
    I just upgraded my Qt Creator I use to code for FreeCAD. The new creator's UI elements are too large, leaving little to no space for the actual workspace.
    alt text
    Also, Options window doesn't fit vertically on my screen, so I don't see buttons to apply the settings.
    I haven't found any place to shrink the UI elements. Probably, dropping DPI settings in Windows will do, but that will hurt overall usability of my touchscreen laptop very much.

    The old Qt creator is almost fine. The UI elements there are a little bit small to use on touchscreen, but they are still quite usable. That leaves quite a lot of space to work in.

    I am on Windows10, with scaling set to 150%. The screen is 11 inch 1920x1080.

    Is there any way to reduce the size back to around what is in Qt Creator 3?

    1 Reply Last reply
    0
    • mrjjM mrjj

      @DeepSOIC
      Seems to be fixed for other platform than windows :)

      Anyway, its most likely due to the 150% scaling

      You can try to use
      -platform windows:dpiawareness=0
      from
      http://doc.qt.io/qt-5/highdpi.html
      or the QT_AUTO_SCREEN_SCALE_FACTOR

      D Offline
      D Offline
      DeepSOIC
      wrote on last edited by
      #5

      @mrjj Hey, environment variable worked!

      C:\Qt\qtcreator421\bin>set QT_SCALE_FACTOR=1
      C:\Qt\qtcreator421\bin>echo %QT_SCALE_FACTOR%
      1
      C:\Qt\qtcreator421\bin>qtcreator.exe
      

      alt text
      Awesome, thanks a bunch!

      1 Reply Last reply
      1
      • D Offline
        D Offline
        DeepSOIC
        wrote on last edited by DeepSOIC
        #2

        This problem looks surprisingly similar to QTCREATORBUG-15115. But the bug is marked as Fixed...

        mrjjM 1 Reply Last reply
        0
        • D DeepSOIC

          This problem looks surprisingly similar to QTCREATORBUG-15115. But the bug is marked as Fixed...

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #3

          @DeepSOIC
          Seems to be fixed for other platform than windows :)

          Anyway, its most likely due to the 150% scaling

          You can try to use
          -platform windows:dpiawareness=0
          from
          http://doc.qt.io/qt-5/highdpi.html
          or the QT_AUTO_SCREEN_SCALE_FACTOR

          D S 3 Replies Last reply
          3
          • mrjjM mrjj

            @DeepSOIC
            Seems to be fixed for other platform than windows :)

            Anyway, its most likely due to the 150% scaling

            You can try to use
            -platform windows:dpiawareness=0
            from
            http://doc.qt.io/qt-5/highdpi.html
            or the QT_AUTO_SCREEN_SCALE_FACTOR

            D Offline
            D Offline
            DeepSOIC
            wrote on last edited by
            #4

            @mrjj thanks for suggestion. I tried it, and the scaling is indeed improved a bit. But, Qt creator becomes blurry, apparently because Windows applies raster scaling to it. I tried disabling the raster scaling (right-click exe, ->compatibility -> disable scaling...) but this restores back the huge UI elements.

            I also tried playing with environment variables a bit mentioned on the page you linked, but none of my attempts had any effect at all so far...

            1 Reply Last reply
            0
            • mrjjM mrjj

              @DeepSOIC
              Seems to be fixed for other platform than windows :)

              Anyway, its most likely due to the 150% scaling

              You can try to use
              -platform windows:dpiawareness=0
              from
              http://doc.qt.io/qt-5/highdpi.html
              or the QT_AUTO_SCREEN_SCALE_FACTOR

              D Offline
              D Offline
              DeepSOIC
              wrote on last edited by
              #5

              @mrjj Hey, environment variable worked!

              C:\Qt\qtcreator421\bin>set QT_SCALE_FACTOR=1
              C:\Qt\qtcreator421\bin>echo %QT_SCALE_FACTOR%
              1
              C:\Qt\qtcreator421\bin>qtcreator.exe
              

              alt text
              Awesome, thanks a bunch!

              1 Reply Last reply
              1
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #6

                Super :)
                Thx for reporting back.

                1 Reply Last reply
                0
                • mrjjM mrjj

                  @DeepSOIC
                  Seems to be fixed for other platform than windows :)

                  Anyway, its most likely due to the 150% scaling

                  You can try to use
                  -platform windows:dpiawareness=0
                  from
                  http://doc.qt.io/qt-5/highdpi.html
                  or the QT_AUTO_SCREEN_SCALE_FACTOR

                  S Offline
                  S Offline
                  SlyPig
                  wrote on last edited by
                  #7

                  @mrjj said in Qt creator 4.2.1 UI is huge and doesn't fit on my screen:

                  -platform windows:dpiawareness=0

                  Yeah, the "-platform windows:dpiawareness=0" option worked for me.

                  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