UIFigure limit Menu Bar in App Designer
조회 수: 7 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
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
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 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!