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. widget size and position issues when on windows 11

widget size and position issues when on windows 11

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 3 Posters 563 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.
  • B Offline
    B Offline
    Blackzero
    wrote on 3 May 2024, 09:05 last edited by
    #1

    I made an application in windows 10 and ran it on another laptop based on windows 10 it worked right the size or position of the widget did not change but when I installed it in windows 11 the size and position of the widget became chaotic, how to solve this? I use the MinGw64 compiler.
    the way I deploy I take the application in the debug folder in the project then deploy it with windeployqt.exe in cmd

    1 Reply Last reply
    0
    • J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 3 May 2024, 09:07 last edited by
      #2

      Do you use layouts to position widgets?

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

      B 1 Reply Last reply 3 May 2024, 10:13
      0
      • J jsulm
        3 May 2024, 09:07

        Do you use layouts to position widgets?

        B Offline
        B Offline
        Blackzero
        wrote on 3 May 2024, 10:13 last edited by
        #3

        @jsulm Yes, I use manual layout and don't use vertical layout or horizontal layout, should I use that?

        C J 2 Replies Last reply 3 May 2024, 10:24
        0
        • B Blackzero
          3 May 2024, 10:13

          @jsulm Yes, I use manual layout and don't use vertical layout or horizontal layout, should I use that?

          C Offline
          C Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on 3 May 2024, 10:24 last edited by
          #4

          @Blackzero said in widget size and position issues when on windows 11:

          should I use that?

          Yes

          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
          0
          • B Blackzero
            3 May 2024, 10:13

            @jsulm Yes, I use manual layout and don't use vertical layout or horizontal layout, should I use that?

            J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 3 May 2024, 10:36 last edited by
            #5

            @Blackzero said in widget size and position issues when on windows 11:

            should I use that?

            Yes, unless you have good reasons not to use layouts.
            I mean, why make your life harder doing all this positioning and sizing manually if you can simply use layouts?

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

            B 1 Reply Last reply 4 May 2024, 15:51
            1
            • B Offline
              B Offline
              Blackzero
              wrote on 4 May 2024, 15:08 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • J jsulm
                3 May 2024, 10:36

                @Blackzero said in widget size and position issues when on windows 11:

                should I use that?

                Yes, unless you have good reasons not to use layouts.
                I mean, why make your life harder doing all this positioning and sizing manually if you can simply use layouts?

                B Offline
                B Offline
                Blackzero
                wrote on 4 May 2024, 15:51 last edited by
                #7

                @jsulm said in widget size and position issues when on windows 11:

                Yes, unless you have good reasons not to use layouts.

                but I specify the maximum size and minimum size, I mean whether the layout will work to adjust the screen for the window that has been set the maximum and minimum size.

                J 1 Reply Last reply 6 May 2024, 06:47
                0
                • B Blackzero
                  4 May 2024, 15:51

                  @jsulm said in widget size and position issues when on windows 11:

                  Yes, unless you have good reasons not to use layouts.

                  but I specify the maximum size and minimum size, I mean whether the layout will work to adjust the screen for the window that has been set the maximum and minimum size.

                  J Online
                  J Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on 6 May 2024, 06:47 last edited by
                  #8

                  @Blackzero said in widget size and position issues when on windows 11:

                  but I specify the maximum size and minimum size

                  To all widgets?
                  If so, then what's the point to resize the window?
                  Or do you set max/min sizes when window if resized?
                  If so - why? Why not simply use layouts?

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

                  1 Reply Last reply
                  0

                  1/8

                  3 May 2024, 09:05

                  • Login

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