Size issue in Matlab App Designer

36 ビュー (過去 30 日間)
ErikJon Pérez Mardaras
ErikJon Pérez Mardaras 2021 年 1 月 23 日
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 件のコメント
ErikJon Pérez Mardaras
ErikJon Pérez Mardaras 2021 年 1 月 23 日
編集済み: ErikJon Pérez Mardaras 2021 年 1 月 23 日
As you can see, when the app is ran (image 2), its size is the same as the workplace of the app (image 1). But when I maximize the tab of the running app (image 3) as you can see, the dimensions deform.
I would like to design with precision the dimensions of the app, and not to expect its deformation when I maximize the tab.
Mischa Kim
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
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
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.
ErikJon Pérez Mardaras
ErikJon Pérez Mardaras 2021 年 1 月 24 日
Thanks a lot for the reply!
I think I did it well but the same happens. As you can see in the images, when I run the app, It has the same size as in the workplace (2 image), but as in the previous example I have shown, when I click maximize tab, the app still stays in that size (as you can see in the 3 image).
I think I did all well. I also putted "fit" in all columns and rows

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by