Size issue in Matlab App Designer
47 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am designing the following app in Matlab app.designer
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/497907/image.png)
As you can see, when I click run, the sizes are the same
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/497912/image.png)
But when I click on maximize tab (in the top right corner), the sizes of the blocks and windows just extend
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/497917/image.png)
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 Commenti
Mischa Kim
il 23 Gen 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?
Risposte (1)
Adam Danz
il 23 Gen 2021
Modificato: Adam Danz
il 24 Gen 2021
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 Commenti
Adam Danz
il 24 Gen 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/498652/image.png)
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!