Design view doesn't match how the actual app looks like

조회 수: 9 (최근 30일)
Arkadiusz
Arkadiusz 2024년 12월 2일
답변: colordepth 2024년 12월 18일
I'm trying to design an app with the MATLAB App Designer and I'm falling at the first hurdle - laying out the components. I tried setting their positions and sizes manually and that didn't work, so I decided to go with something simpler and use the grid layout instead. Here's how some components look like in Design view:
And here's how the actual app looks like:
For some reason the buttons and edit fields got stretched out and are now interfering with each other and the "Drop Down"/"Edit Field" labels have moved. Does anyone know how to make my app actually look the way it looks in Design view?
  댓글 수: 7
Image Analyst
Image Analyst 2024년 12월 2일
Report it as a bug.
Yukthi S
Yukthi S 2024년 12월 5일
I tried this in R2024b and i don't see any issues with the stretching of fields. Can you share the .MLAPP files you were working on?

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

답변 (1개)

colordepth
colordepth 2024년 12월 18일
This is a known issue in MATLAB versions R2024a and R2024b. You can find more information about this issue in the bug report at: https://www.mathworks.com/support/bugreports/details/3339274.
Additionally, there is a detailed step-by-step workaround provided in a MATLAB Answer post, which you can access here: https://www.mathworks.com/matlabcentral/answers/2153895-app-designer-app-window-not-fully-displayed-on-transition-to-2024a#answer_1521085.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by