I am designing an app for aircraft sizing, and one of the features is a list box that allows you to add mission segments to the aircraft's mission profile. The expected layout (how it appears in the Design View) is shown below. After clicking the "Add" button in the "Mission Segments" panel, the "Mission Segment Editor" panel appears on the right. It has the same size and aligns with the the "Mission Segments" panel. And indeed this is exactly how it appears the first time I run the app after starting AppDesigner.
However, if I close the app and run it again, and for any subsequent run, it appears like this:
All the panels have moved or stretched! This only seems to happen after the first time I run the app, and I cannot come up with an explanation for why this is happening. I have no code that modifies the position of any components, so the positions should remain as set in the Design View.
I am attaching the app file in case you have a chance to look through it. Thanks!

댓글 수: 2

What version of MATLAB was used to create this app?
Adam Wasserman
Adam Wasserman 2020년 8월 9일
편집: Walter Roberson 2020년 8월 9일
MATLAB Version: 9.8.0.1396136 (R2020a) Update 3
MATLAB License Number: 8XXXXXXXX
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 19041)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

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

 채택된 답변

Cris LaPierre
Cris LaPierre 2020년 8월 9일

0 개 추천

I was able to open and close your app several times without seeing the issue you are describing. If you are still seeing it, I suggest reaching out to technical support.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 8월 8일

답변:

2020년 8월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by