Hello there,
In App, the callback UIFigureSizeChanged does not make any effect when the size of the GUI's app is changed.
I tryied it in a white app with and without elements and does not show anything when the size or maximized of the GUI is changed.
Anybody know an callback for when the window state is changed? or app GUi size is changed?
As indicated in MATLAB note,
thank you very much

1 件のコメント

Kristoffer Walker
Kristoffer Walker 2026 年 4 月 29 日 17:42
編集済み: Kristoffer Walker 2026 年 4 月 29 日 17:43
I have this same problem and am looking for a workaround. Turning off "Auto-resize children" is not an acceptable workaround.

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

 採用された回答

Josep Llobet
Josep Llobet 2022 年 7 月 21 日

0 投票

Ok, as indicated in this MATLAB Answer from 2017, the 'AutoResizeChildren' of the UIFigure must be put it in off.
In the SizeChangedFcn explication, of the UI Figure Properties, of the MATLAB Help Center, it is also indicated.

1 件のコメント

Kristoffer Walker
Kristoffer Walker 2026 年 4 月 29 日 17:42
Unfortunately, that is not an acceptable fix because it is natural to need to auto-resize the children, and it is hard to understand why auto-resizing children should logically prevent the figure-level Resize callback from being triggered.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2022 年 7 月 21 日

編集済み:

2026 年 4 月 29 日 17:43

Community Treasure Hunt

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

Start Hunting!

Translated by