How to create a textarea with dynamic height with App Designer?

2 ビュー (過去 30 日間)
Fabian Gock
Fabian Gock 2018 年 7 月 6 日
編集済み: Fabian Gock 2018 年 7 月 6 日
Hi
I'm currently creating a GUI using App Designer. With one button, the user is able to select a file he wants to load. The selected filename should be displayed in a textarea. Because the length of the filenames varies, sometimes the textarea has too many lines and is too big, and sometimes, it has too less and a scrollbar is automatically added.
Is there a way, to make the height of the textarea relative to the length of the string, that has to be displayed?
Thanks in advance -Fabian

回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by