App Designer - Scrollbar in "Label" feature?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Wael Wanis
le 6 Oct 2019
Réponse apportée : Jacob Pettine
le 24 Déc 2019
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 commentaires
Réponse acceptée
Harsha Priya Daggubati
le 9 Oct 2019
Hi,
This issue persists in MATLAB R2018b. I suggest upgrading to R2019a version, or follow the workaround provided in the link below.
Plus de réponses (1)
Jacob Pettine
le 24 Déc 2019
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 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!