Size issue in Matlab App Designer
Afficher commentaires plus anciens
I am designing the following app in Matlab app.designer

As you can see, when I click run, the sizes are the same

But when I click on maximize tab (in the top right corner), the sizes of the blocks and windows just extend

How can I design the app in the matlab app.designer and stablish the sizes proportions that the blocks and the windows will have once the app is running in normal tab and maximized tab?
Thank you very much
3 commentaires
Mischa Kim
le 23 Jan 2021
Hi ErikJon, what would you like to happen when you maximize the window?
ErikJon Pérez Mardaras
le 23 Jan 2021
Modifié(e) : ErikJon Pérez Mardaras
le 23 Jan 2021
Mischa Kim
le 23 Jan 2021
Just to clarify, do you want the size of all objects to resize proportionally? That is when the window is twice the size when maximized then all the objects should also resize to twice their original size?
Réponses (1)
If you want more flexibility over how your app automatically resizes, use Grid Layout Managers or the auto-reflow options in App Designer instead of the AutoResizeChildren property.
3 commentaires
ErikJon Pérez Mardaras
le 24 Jan 2021
Adam Danz
le 24 Jan 2021
@ErikJon Pérez Mardaras I see what you mean. I updated my answer to remove the checkbox suggestion. The first link in my answer provides an example of what you're describing.

ErikJon Pérez Mardaras
le 24 Jan 2021
Catégories
En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



