App Designer - Scrollbar in "Label" feature?
조회 수: 6 (최근 30일)
이전 댓글 표시
I am designing a GUI, in the first window, I want to write some instructions and procedures to the user; so I am using "Label" feature and I write everything in it, the problem is that the text is long; it goes outside of the window frame so when I run the GUI, not all the text appears.
Is there a way that a design a scroll bar in the "Label" area so that when the GUI runs, the user can scroll and read all the instructions?
i don't want a push button, that when pushed, the text content changes.
By the way:
I tried using the "Text Area" feature, it contains a scrollbar, however when running the GUI, the text area is editable so the user not only can read the text but overwrite it. When I changed the "Text Area" properties into non-editable, it disabled the scrollbar.
Thanks in advance.
댓글 수: 0
채택된 답변
Harsha Priya Daggubati
2019년 10월 9일
Hi,
This issue persists in MATLAB R2018b. I suggest upgrading to R2019a version, or follow the workaround provided in the link below.
추가 답변 (1개)
Jacob Pettine
2019년 12월 24일
Hopefully this will be an option in the next update (along with making the label text selectable for copying), but until then my solution has been to utilize the label's Tooltip feature with the same text string. You can then hover over the label to view the text. Unlike the label itself, the text in the tooltip is also selectable.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!