How can I have resizeable components in my GUI ?

2 ビュー (過去 30 日間)
Kami omidi
Kami omidi 2020 年 9 月 22 日
回答済み: Kami omidi 2020 年 9 月 22 日
I am looking for a way to have my gui with resizable components inside, just like matlab. I prefer to make the whole GUI with Codes, (so graphical methods like guide and app designer are not asked).
Thanks in Advance
  2 件のコメント
Image Analyst
Image Analyst 2020 年 9 月 22 日
Do you mean where the user can resize every widget on your GUI by clicking a corner and dragging it? Or do you mean the user just changes the size of the whole GUI and everything inside automatically scales? And why are you against using GUIDE or App Designer?
Kami omidi
Kami omidi 2020 年 9 月 22 日
The 'Resize' property is 'off' and I planned a non_resizeable GUI. But I want the user be able to resize axes and panels and so on.
The reason: my experences shows, those graphical tools even though so easy to use are, but finally is needed to insert Codes to have a Ideal Project. That is the only reason That made me to decide write the whole in Codes.

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

回答 (1 件)

Kami omidi
Kami omidi 2020 年 9 月 22 日
It is possible with GUI Layout Toolbox witch is a Layout manager for MATLAB graphical user interfaces, written by one of matlab staffs.
If we download the toolbox, we find a comprehensive help in html format.
The uix.GridFlex is the Function Reference that meet our needs.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by