QPushButton Text Position
-
Is it possible to change the text position for a QPushButton? I would like to place the text outside of the push button and below it, as shown in the attached screenshot. I would like to use the stylesheet.
Regards,
James -
-
Yes, I have a button with a diameter of 100 pixels and I want to place the text outside of that.
After much searching it looks like the toolbutton ToolButtonTextUnderIcon will only move it outside of an icon of max 32x32 pixels.I have come to the conclusion that i have to subclass QPushButton and place the text where I want myself. Right now I am struggling with that, being new to Qt & C++.
Regards,
James