Editing multiple coincident panels in App Designer

조회 수: 23 (최근 30일)
William Day
William Day 2022년 3월 24일
답변: aditi bagora 2023년 10월 20일
I am trying the convert a GUIDE based app into App Designer. My gui consisted of 6 coincident panels and a row of push buttons across the top that will each make one panel visible and the other 5 invisible. It was easy to edit in Guide. I would just select the top panel and send to back until the panel I wanted was on top. However, when I try this in App Designer, I can’t bring other panels to the top. Any advice. I suppose I could make 6 separate figures that each are part of an overall figure, but that is a bit painful to tear apart what was a working application

답변 (1개)

aditi bagora
aditi bagora 2023년 10월 20일
Hello William,
I understand that you have multiple panels, and you want to bring a specific panel to the front while hiding the others.
To accomplish this, you can utilize the uistack() function, which allows you to adjust the stacking order of UI components. By using uistack(panel, "top"), you can bring the desired panel to the top.
Considering that your panels are coincident, the panel positioned on top will automatically hide the underlying panels. However, in cases like this, it is recommended to use a Tab Group instead of managing multiple overlapping panels.
By utilizing a Tab Group, you can organize your content into separate tabs, making it easier to switch between panels while maintaining a clean and organized interface.
Please refer to the following link for more information:
Hope this helps!
Regards,
Aditi

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by