I\'d like to make QPushButton word wrap and expand it\'s height instead of expanding width. How can I do that?
QPushButton
A straightforward solution is to insert a line break when writing the text inside the QPushButton just like
This button has \n a long text
If you are digning in QtDesigner, you can simply right-click the button and then "Insert line break"