PDA

View Full Version : Rotate push button by 90 degrees



sasi
15th July 2009, 12:58
I use a push button inside a vertical toolbar. I wish to have the text and the push button in vertical alignment. How do i rotate the button by 90 degrees? Should i paint it again or is there a property or method to do that?

ProTonS
15th July 2009, 13:16
Hi, man.

I have an idea, in the name of button, type with "\n" like that: "B\nu\nt\nt\no\nn" and enter, then its label will be "button" in vertical alignment :D After that, y can chance its width to 30.

Bye bye.

HAND

spirit
15th July 2009, 13:26
take a look at this (http://wiki.qtcentre.org/index.php?title=OrientationButton) example.