R2020b AppDesigner doesn't fill UiFigure completely with child

1 回表示 (過去 30 日間)
Julian Krebs
Julian Krebs 2020 年 10 月 12 日
コメント済み: Bruno Luong 2020 年 10 月 12 日
Hello everybody,
I noticed strange positioning behavior in the Matlab R2020b update. In contrast to the R2020a release, the complete UI figure is no longer filled in directly after starting the app, but only partially. I am demonstrating this using the "Pulse Generator" sample app without making any changes to the code. The red hatched area is undesirable and only occurs in the R2020b release. Why is that like this? Do we need to make any migrations to convert the app to R2020b?
On R2020b
R2020b with Space on the right and on the bottom
On R2020a
R2020a version
The sample application is attached, but as I said, it is simply a randomly selected sample application that is suggested when creating a new document.
Thanks in advance!
Julian
  2 件のコメント
Mario Malic
Mario Malic 2020 年 10 月 12 日
編集済み: Mario Malic 2020 年 10 月 12 日
I might have experienced something similar, but I am not sure if this is the solution. In your UIAxes, check the property group Position, PlotBoxAspectRatioMode and DataAspectRatioMode, try setting PlotBox property on 'auto', second one as well if it doesn't solve the issue.
There might be some issues when migrating apps that use GridLayout.
Julian Krebs
Julian Krebs 2020 年 10 月 12 日
Thanks for your suggestion. Unfortunately, both values are already set to "auto" for me.

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

回答 (1 件)

Bruno Luong
Bruno Luong 2020 年 10 月 12 日
No problem with me here is the capture with R2020b
What is your monitor resolution setting?
  3 件のコメント
Bruno Luong
Bruno Luong 2020 年 10 月 12 日
Odd I have the same screen resolution when I open your app.
Bruno Luong
Bruno Luong 2020 年 10 月 12 日
Open on a different computer, il's till look fine.

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

カテゴリ

Help Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by