“lock” edit fields size

5 ビュー (過去 30 日間)
Jane Bat
Jane Bat 2022 年 3 月 4 日
コメント済み: Jane Bat 2022 年 3 月 5 日
When I maximize an app (written in app designer) it also extends the size of edit fields. Is there a way to “lock” their size?
  4 件のコメント
Voss
Voss 2022 年 3 月 4 日
If different edit fields are in different uipanels, then you could set 'AutoResizeChildren' differently for different uipanels. That would only work if none of the edit fields you want to lock are in the same uipanel as any of the edit fields that should be resized.
If you do have some edit fields that should stay the same size together in a container (i.e., uifigure or uipanel) with some edit fields that should be resized, then I think you either have to write a SizeChangedFcn to do it or maybe you can do it using a Grid Layout Manager.
Jane Bat
Jane Bat 2022 年 3 月 5 日
Thanks

サインインしてコメントする。

回答 (0 件)

カテゴリ

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