Want to make label scrollable in MATLAB app designer.
조회 수: 6 (최근 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에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!