Size issue in Matlab App Designer
35 views (last 30 days)
Show older comments
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 Comments
Mischa Kim
on 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?
Answers (1)
Adam Danz
on 23 Jan 2021
Edited: Adam Danz
on 24 Jan 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 Comments
Adam Danz
on 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.
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!