(ui): add option to fix the size of QToolButton on a toolbar
Description
When adding multiple QToolButton
on a toolbar (<menuItem name="test" icon="..." />
) especially if text is displayed beside or down the icons.
Proposal
Add an optional attribute to uniform size of button to the wider one.
Outcomes
Toolbar would be more elegant, no more size flickering when show/hide some buttons.
Links / references
Some Example (horizontal toolbar with style="ToolButtonTextUnderIcon")
Version with fixed size:
Of course in this example the Text is very large, in order to illustrate the issue. Most of the time the resize glitch is very small.