Alignment issues on App Designer

조회 수: 8 (최근 30일)
Jonathan Moorman
Jonathan Moorman 2021년 4월 28일
답변: Kishan Dhakan 2021년 6월 23일
Hi all,
Everytime I run my program the alignments on my GUI get messed up. Would anyone know why it does this?
In Design screen:
When I run:
  댓글 수: 3
Jonathan Moorman
Jonathan Moorman 2021년 6월 22일
I was never given a solution.
J. Alex Lee
J. Alex Lee 2021년 6월 23일
What version of matlab are you using? If 2018b or later, have you tried using "uigridlayout"?

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

답변 (1개)

Kishan Dhakan
Kishan Dhakan 2021년 6월 23일
This is happening because the 'tabbed group' container you are using shows two rows of tabs in design view, but only one (with buttons to navigate) in app view. In the latest version of MATLAB this isn't an issue. However, to rectify this you can:
1) Click on noth response panel and view it's position. Note the 'bottom' value, and set the same manually for tabbed group container.
2) Check the 'height' of Notch response, Crack to Notch, and the buttons and gaps, add them and set it as the height of tabbed container manually.

카테고리

Help CenterFile 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!

Translated by