Hi, I have a QToolButton which doesn't fit to text width on Linux.
Is there a "FitToText" method I can call?
Thx
Hi, I have a QToolButton which doesn't fit to text width on Linux.
Is there a "FitToText" method I can call?
Thx
Last edited by nnzz; 13th July 2016 at 11:31.
It should do that by default.
Do you have the button on a toolbar? or in a layout?
Cheers,
_
It's in a layout. The text on one ToolButton is a bit longer than the others, and it is clipped
Check that there are no size restrictions, like a minimum size or any of the button's parents not being in a layout, etc.
Cheers,
_
Bookmarks