I am trying to present text or a label vertically (not vertical text alignment) but to display the entire text vertically or rotate it 90 degrees. Imagine a credit card or a membership card, full screen vertical. And you need to present the name of the person vertically on a specific location of the card.
I’ve been playing around with the “rotate” property of the label, but the behaviour is so unpredictable and weird. It truly feels like a hack rather than a built in feature.
When using rotate=“90” for example. The label still behaves like it is not rotated, so the text is wrapped based on the width of the screen, and does not allow to be longer (wider). It’s annoying since I need it to be as wide as the height of the screen
I used padding or margin to position the label. And once I was satisfied, it all broke apart since the label moved around the view basen on how much content there was in the label. This is no good since the value is dynamic (a persons full name) so I cannot predict how much content there will be.
So I am asking if there are any better ways to do this? Feel like the built in rotate property is more for images rather than text or layout? Altho I have seen images being cropped as well after rotation…