Vertical text in a Horizontal UIButton
- by ArQangel
I'm using a vertical UIButton in a portrait app (Just a normal button that is of width 60 and Height 160)
I want to put the label Vetically down the button instead of across it.
When I use the following code to rotate the label
[workPackageButton.titleLabel setTransform:CGAffineTransformMakeRotation(M_PI / 2)];
It rotates the label but the length seems to be constrained by the original width, so I get the ... abreviation in the middle. Is there an easy way round this?