I'd like to make QPushButton word wrap and expand it's height instead of expanding width. How can I do that?
QPushButton
Use a QToolButton instead of a QPushButton. QToolButton can use multiline text and QToolButton's size is easier to control than the size of a QPushButton.
2.1m questions
2.1m answers
60 comments
57.0k users