Filter löschen
Filter löschen

How can I rotate a UIlabel in appdesigner?

6 Ansichten (letzte 30 Tage)
Andreas Papadakis
Andreas Papadakis am 9 Aug. 2018
Beantwortet: Hardik am 5 Mär. 2024
How can I rotate a UIlabel in appdesigner? So instead of me reading it horizontally, it is displayed vertically>

Antworten (1)

Hardik
Hardik am 5 Mär. 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';

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by