UIFigure limit Menu Bar in App Designer

6 ビュー (過去 30 日間)
JiYuan Lee
JiYuan Lee 2020 年 6 月 5 日
編集済み: Adam Danz 2020 年 11 月 3 日
Matlab Designers,
I created an app with menu bar in AppDesigner. App screen is below:
Then I run it. The results are shown:
But when I narrowed uifigure width, Menu bar was limited by uifigure. As we can see below:
Were there mistakes with properties? I can't fix it yet!
Does anyone know how to solve this problem?
Thank you and keep up the great work!
Michael

採用された回答

Adam Danz
Adam Danz 2020 年 6 月 5 日
編集済み: Adam Danz 2020 年 6 月 5 日
No-can-do.
Even if you set app.UIFigure.Clipping = 'off';
At least as of r2020a (and the foreseeable future) the components of a figure / uifigure / app must stay within the figure boundaries. That's probably a good rule. We wouldn't want to define objects that are children of a figure but extend outside of the figure boundaries.
Is there a reason you want your app to be very narrow?
  4 件のコメント
JiYuan Lee
JiYuan Lee 2020 年 6 月 8 日
Thank you !
No offense! Actually, Guide can do what I describle.
Adam Danz
Adam Danz 2020 年 6 月 8 日
Oh, I wasn't aware of that. I stopped using GUIDE a while back. Thanks for sharing.

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

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by