Want to make label scrollable in MATLAB app designer.
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
app.xyzLabel.text = 'abcdefghijklmnopqrstuvwxyz';
Here, I have enabled 'wordWrap' and I have limited position bound. So the text is exceeding the boundary. The letters which are outside the box are not visible. I want to make the box scrollable just like vertical scrolling of of table. Can you help me out?
1 Kommentar
Kevin Holly
am 4 Aug. 2022
Bearbeitet: Kevin Holly
am 4 Aug. 2022
Is there a reason why you are not using the Text Area uicomponent?
Antworten (1)
Amit Dhakite
am 9 Jun. 2023
Hi Ravish,
"uilabel" are not scrollable, they can only be clipped.
If you want vertical scrolling, you can utilize Text Area uicomponent, as suggested by Kevin.
However, if you want to make that horizontally scrollable, you can use HTML uicomponent. It will automatically become scrollable with some long strings.
To know more about these components, kindly refer to the following links:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!