QToolButton with text: Overwrite minimal height to minic regular button height
问题 I am displaying QToolButtons with icon plus text ( Qt::ToolButtonTextBesideIcon ) outside of a tool bar. Each button has a QAction associated with it which determines the used icon and the displayed text. All those buttons are placed inside a QGridLayout. So far so good. Unfortunately, it looks like that as soon as you add a QAction to a QToolButton, Qt automatically decides to shrink it down to the minimal size, which is not what I want given my QGridLayout. I used the following lines to