How can I have resizeable components in my GUI ?

3 visualizzazioni (ultimi 30 giorni)
Kami omidi
Kami omidi il 22 Set 2020
Risposto: Kami omidi il 22 Set 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 Commenti
Image Analyst
Image Analyst il 22 Set 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 il 22 Set 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.

Accedi per commentare.

Risposte (1)

Kami omidi
Kami omidi il 22 Set 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.

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by