How can I have resizeable components in my GUI ?

3 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by