How to fix auto-reflow issues?
조회 수: 7 (최근 30일)
이전 댓글 표시
I created a 2-panel app with auto reflow, and have since regretted the decision. My app includes the left panel with an Axes component, and the right panel with various buttons, sliders etc. When I maximize the app, the right panel opens up horrizontally to fill the new space, while the left panel does nothing but expand vertically, so now my plot window is very narrow and the right panel which includes my buttons and knobs is very large. I am unable to share the app itself, but can provide additional detail as requested.
Here is what I have tried so far:
- Tried with and without a grid layout on each panel.
- Used grid layout manager to size the grid for the current component layout.
Because I picked "...with auto reflow", it looks like I cannot delete the 2 original panels, so I can't just delete them and place my own grid down.
Any ideas? Do I need to migrate to an app without reflow? Is there a way to remove the auto-reflow setting without starting over?
댓글 수: 0
채택된 답변
Sean de Wolski
2022년 3월 7일
In 21b you can remove autoreflow from the Canvas Tab>Convert. They named the feature to remove it after me because I was in the exact same boat you're in. Grid layouts are way better.
추가 답변 (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!