How to resize all children automatically when creating a uifigure with uibuttons etc?
3 ビュー (過去 30 日間)
古いコメントを表示
Hello dear MATLAB folks,
I want to create a GUI with the uifigure command.
uifg1=uifigure;
Then I place a button
uibt1=uibutton('parent',uifg1);
I also check that
uifg1.AutoResizeChildren = 'on'
but when i resize the uifg1 with my mouse it does not resize the button.
I can't use GUIDE, because the GUI must be modular expandable.
10 件のコメント
Adam
2018 年 10 月 22 日
You can package any components that are needed into an executable. They are just .m files.
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!