How can I have resizeable components in my GUI ?

3 visualizaciones (últimos 30 días)
Kami omidi
Kami omidi el 22 de Sept. de 2020
Respondida: Kami omidi el 22 de Sept. de 2020
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 comentarios
Image Analyst
Image Analyst el 22 de Sept. de 2020
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 el 22 de Sept. de 2020
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.

Iniciar sesión para comentar.

Respuestas (1)

Kami omidi
Kami omidi el 22 de Sept. de 2020
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.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by