Want to make label scrollable in MATLAB app designer.
9 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Kevin Holly
2022 年 8 月 4 日
編集済み: Kevin Holly
2022 年 8 月 4 日
Is there a reason why you are not using the Text Area uicomponent?
回答 (1 件)
Amit Dhakite
2023 年 6 月 9 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Migrate GUIDE Apps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!