How do you remove the grid layout in App Designer?
조회 수: 30 (최근 30일)
이전 댓글 표시
Deleting the grid layout that I placed now deletes all the components in it.
How do I delete it without losing all those components?
댓글 수: 1
Mohammad Sami
2020년 6월 24일
Yes, all the components are children of the grid layout. Is there any reason why you want to delete the grid layout ?
The grid layout allows the scaling of the components when you change the window size of your app.
채택된 답변
Sugar Daddy
2020년 6월 24일
select all the components (you have to select them 1 by 1 using mouse and shift key) drag them out of canvas as shown below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/321247/image.png)
I selected all the components, Now Drag them out of the canvas as shown below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/321250/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/321253/image.png)
Now brig all components back by pressing Ctrl+A and drag them back
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/321256/image.png)
추가 답변 (1개)
cui,xingxing
2024년 9월 11일
Starting in R2022a, you can remove a grid layout manager from your app and convert the components in the grid to use pixel-based positioning. Please see more information here: Use Grid Layout Managers in App Designer - MATLAB & Simulink - MathWorks China
댓글 수: 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!