Is it possible to control the text alignment (horizontal & vertical) on a QPushButton using stylesheets, or do I have to subclass QAbstractButton and make my own?
Is it possible to control the text alignment (horizontal & vertical) on a QPushButton using stylesheets, or do I have to subclass QAbstractButton and make my own?
To me it looks like it's not possible.
I think you could subclass QPushButton instead of QAbstractButton. This will save you from quite a bit of work. All you need is a bit different rendering so it could be done in reimplemented paintEvent().or do I have to subclass QAbstractButton and make my own?
J-P Nurmi
Bookmarks