Alignment issues on App Designer
4 次查看(过去 30 天)
显示 更早的评论
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/599810/image.jpeg)
When I run:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/599815/image.jpeg)
3 个评论
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
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.
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!