Other ways I can think of is that you can put the button inside another layout and use the QSizePolicy class to make the layout fixed, or inside a QDialogButtonBox.
Other ways I can think of is that you can put the button inside another layout and use the QSizePolicy class to make the layout fixed, or inside a QDialogButtonBox.
Bookmarks