How can I rotate a UIlabel in appdesigner?

10 visualizzazioni (ultimi 30 giorni)
Andreas Papadakis
Andreas Papadakis il 9 Ago 2018
Risposto: Hardik il 5 Mar 2024
How can I rotate a UIlabel in appdesigner? So instead of me reading it horizontally, it is displayed vertically>

Risposte (1)

Hardik
Hardik il 5 Mar 2024
there is no any rotation property for UILabel but you can do this
lbl=uilabel(app.GridLayout4);
lbl.Layout.Row=9;
lbl.Layout.Column=2;
text="Vertical comment";
newstring=split(text,'');
lbl.Text=newstring;
lbl.HorizontalAlignment='center';

Categorie

Scopri di più su Application Deployment in Help Center e File Exchange

Prodotti


Release

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by