フィルターのクリア

How can I enable scrolling on a Tab in App Designer?

50 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2019 年 4 月 30 日
編集済み: MathWorks Support Team 2019 年 10 月 10 日
I am creating an app with App Designer, and I would like to enable scrolling on a Tab. How can I do this?

採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 10 月 10 日
編集済み: MathWorks Support Team 2019 年 10 月 10 日
This is feature that is available starting in MATLAB R2018b. To enable scrolling on a Tab, you can set the 'Scrollable' property to be true.
The following example from the documentation illustrates what this looks like outside of App Designer on a UIFigure:
In App Designer, you can also set the Tab 'Scrollable' property to be true by selecting the 'Scrollable' property under 'Interactivity' in the 'Component Browser' when you have selected the Tab object.
For scrolling to be activated when the app is run, you need to place at least one component outside the borders of the Tab. Specifically, to activate up/down scrolling, place a Component onto the Tab and have it extend past the top of the Tab. To activate left/right scrolling, place a Component onto the Tab and have it extend past the right of the Tab.
To illustrate, refer to the attached example app. It was created in R2019a, but will also run in R2018b (though it may warn you that the app was created in a newer version).

その他の回答 (0 件)

カテゴリ

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

タグ

タグが未入力です。

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by