Size issue in Matlab App Designer
34 次查看(过去 30 天)
显示 更早的评论
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 个评论
Mischa Kim
2021-1-23
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?
回答(1 个)
Adam Danz
2021-1-23
编辑:Adam Danz
2021-1-24
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 个评论
Adam Danz
2021-1-24
@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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!