In appdesigner, is there any way to start with 2x1 panels instead 1x2 under auto-reflow?

1 回表示 (過去 30 日間)
Maruan Alberto Bracci
Maruan Alberto Bracci 2022 年 9 月 15 日
回答済み: Eric Delgado 2022 年 9 月 21 日
Under App Designer, is there any way to create a new app with 2x1 panels (two rows one column) under "Auto-Reflow"? In the two-panel template it seems only 1x2 is aviable with the UI and that this is not user-selectable.

回答 (1 件)

Eric Delgado
Eric Delgado 2022 年 9 月 21 日
Hey @Maruan Alberto Bracci, yeah. It's possible. In this template there is as Grid between the UIFigure and the Panels,, but the Component Browser doesn't show this Grid.
So... just create an app from "blank app", putting a Grid com 2 rows and 1 column and then the Panels. See code attached made on R2021b (if you are working on a different release of Matlab, you have to open App Designer and save the file before run it).

カテゴリ

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

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by