Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How to add automatic resizing to already designed UI ?

    General and Desktop
    4
    5
    134
    Loading More Posts
    • 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.
    • R
      RahibeMeryem last edited by

      I have already designed my UI for a bigger screen size which using 4K resolution.
      But now I need lower resolution version of this UI.

      How can I make automatically resize ALL without breaking the design integrity of the all widgets/buttons etc ?

      Best

      jsulm 1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion @RahibeMeryem last edited by

        @RahibeMeryem Use layouts: https://doc.qt.io/qt-5/layout.html

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

        1 Reply Last reply Reply Quote 2
        • R
          RahibeMeryem last edited by

          Screen Shot 2020-08-07 at 17.57.46.png

          I read but didn't understand how to solve my problem.

          I have already UI designed. Trying to this gui resizable without changing the appearance.

          Pablo J. Rogina JonB 2 Replies Last reply Reply Quote 0
          • Pablo J. Rogina
            Pablo J. Rogina @RahibeMeryem last edited by

            @RahibeMeryem maybe you need to take a look at working with layouts in Designer along with more about layouts

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply Reply Quote 3
            • JonB
              JonB @RahibeMeryem last edited by JonB

              @RahibeMeryem
              You must read the links @Pablo-J-Rogina has given you.

              In your screenshot, where you see all those red "no entry" signs on your central widget and each of the tabs, that is Designer warning you that you need to set a layout on that widget.

              And having correct layouts is a prerequisite for resizing.

              1 Reply Last reply Reply Quote 2
              • First post
                Last post