필터 지우기
필터 지우기

App designer panel order

조회 수: 16 (최근 30일)
Sudhee
Sudhee 2020년 10월 19일
답변: Shuang Xiao 2020년 11월 20일
Hi,
I am designing an app in app designer.
I kept two panels in the app with panel1 on top of panel2 with only the name of panel1 visible (Im1).
Now, when I click on panel1, I expect it to bring the contents of panel1 to the front as in Im2. But panel1 doesn't come to the front when clicked and remains as in Im1.
Please suggest how I can bring panel1 to the front when clicked, without having to reorder the panel everytime I want to edit the contents of panel1. I am using MATLAB 2020 b and windows 10.
  댓글 수: 3
Sudhee
Sudhee 2020년 10월 19일
편집: Sudhee 2020년 10월 19일
@mario: It did work for earlier version of MATLAB and was easy to use. It didn't work after I upgraded to 2020b. My requirement is to have the different panels overlapping so that it won't occupy much space in the final product. And if I want to edit a particular panel, I should be able to bring it to the front.
Mario Malic
Mario Malic 2020년 10월 19일
To reduce the occupied space with multiple panels almost overlapping each other makes no sense at all, regardless if it worked before or not.

댓글을 달려면 로그인하십시오.

채택된 답변

Shuang Xiao
Shuang Xiao 2020년 11월 20일
I understand that you are using overlapping panels to reduce space. But still want edit each panel without reordering the edited panel.
Before 20b, there is no reordering feature in App Designer. when selecting component, component is brought to front for edit. But this could cause confusion what component is front when selecting and editing the overlapping component.
After 20b, reordering feature is added. Components will stay the same z-order as in component browser for both selected or not selected components. This provides consistent z-order to show all component in design view. It avoids the confusion about the difference between the component's design-time z-order and runtime z-order.
Using tab group can be a workaround for multiple fully overlapping panels.
For multiple partially overlapping panels, you can reorder panel or move it out & move it back to edit. Also You can use property inspector to edit specific component attributes.

추가 답변 (0개)

카테고리

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