Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

resizing a GUI designed by the QDesigner



  • I have - using Qt designer - for my application a GUI designed with app 30 widgets (QLCDNumbers, QComboBoxes, QLabels, QListView.
    I often get questions on how to resize the GUI.
    It seems there are two questions
    a. how can I - maintaining the layout as it is - enlarge the main widget by the mouse and keep the containing widgets spread over the main widget according to the chosen layout
    b. how can I resize esp. QLabels when the main Widget is enlarged by the Mouse.
    I realise that the question may be asked a million times before. The stupid thing isthat for some separate widgets I created the layout NOT by the Qtdesigner, and the layout is maintained when enlarging the main widget by the mouse


  • Lifetime Qt Champion

    Hi
    If you already is using layouts then the resize should just work.
    Did you use the red layouts in designer and not by assigning layouts
    via the right click menu ?


Log in to reply