Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, January 2008
Setting text alignment in QToolButton


Message 1 in thread

Can the text alignment in QToolButton be somehow specified?

I have a custom widget I have created for my application which displays
a vertical column of QToolButtons.

The only thing is that the text appears centered in each widget. It
would look better if the text was left aligned. Is this possible without
reimplementing the paint event and doing my own painting?

Thanks,

Stephan

--
 [ signature omitted ]