QT Designer : Resize QPushButton so it is always square
Unsolved
General and Desktop
-
Hello everyone,
Is there a way to tell a couple of QPushButtons that they resize in a way, that they always stay "square" regarding to their size? If possible, inside Qt Designer.
On resizing my QMainWindow, the buttons also resize, but they resize to rectangles etc. I want all the buttons to be always in size SxS (square).
Some data:
Qt Designer 5.6.0
Windows 7 64
Visual Studio 2015 Prof (Qt VS Tools - Plugin)
C++ -
@John_A._Myer You could use QToolButton
-
@jsulm thank you for your fast reply.
Just to be sure : you mean using QToolButton instead of QPushButton?
-
@John_A._Myer yes