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 make a resizable gui?
QtWS25 Last Chance

How to make a resizable gui?

Scheduled Pinned Locked Moved Unsolved General and Desktop
pyqt5layouts
3 Posts 3 Posters 668 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.
  • D Offline
    D Offline
    Dexter99
    wrote on 10 Feb 2020, 03:34 last edited by
    #1

    Hi!!
    I have made a GUI that acts as a birthday reminder. There is a pixmap in my window that sort of act as a banner for my project. Now everything is done but when i resize the window nothing else moves. But I want to resize the widgets to fit my window. How can I do this I have tried using a box layout but that didn't work moreover when I use the layout the image sort of forms in the centre having border on all sides. How can I solve this. Thankyou.

    A J 2 Replies Last reply 10 Feb 2020, 04:43
    0
    • D Dexter99
      10 Feb 2020, 03:34

      Hi!!
      I have made a GUI that acts as a birthday reminder. There is a pixmap in my window that sort of act as a banner for my project. Now everything is done but when i resize the window nothing else moves. But I want to resize the widgets to fit my window. How can I do this I have tried using a box layout but that didn't work moreover when I use the layout the image sort of forms in the centre having border on all sides. How can I solve this. Thankyou.

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 10 Feb 2020, 04:43 last edited by
      #2

      @Dexter99 please show your code :)

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • D Dexter99
        10 Feb 2020, 03:34

        Hi!!
        I have made a GUI that acts as a birthday reminder. There is a pixmap in my window that sort of act as a banner for my project. Now everything is done but when i resize the window nothing else moves. But I want to resize the widgets to fit my window. How can I do this I have tried using a box layout but that didn't work moreover when I use the layout the image sort of forms in the centre having border on all sides. How can I solve this. Thankyou.

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 10 Feb 2020, 06:07 last edited by
        #3

        @Dexter99 said in How to make a resizable gui?:

        How can I solve this

        See https://doc.qt.io/qt-5/layout.html

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

        1 Reply Last reply
        2

        3/3

        10 Feb 2020, 06:07

        • Login

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