How do you remove the grid layout in App Designer?

24 vues (au cours des 30 derniers jours)
AThomas
AThomas le 23 Juin 2020
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 commentaire
Mohammad Sami
Mohammad Sami le 24 Juin 2020
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.

Connectez-vous pour commenter.

Réponse acceptée

Sugar Daddy
Sugar Daddy le 24 Juin 2020
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
I selected all the components, Now Drag them out of the canvas as shown below
Now delete the uigridmenue by right click and delete
Now brig all components back by pressing Ctrl+A and drag them back
  1 commentaire
AThomas
AThomas le 25 Juin 2020
Perfect, thank you very much!

Connectez-vous pour commenter.

Plus de réponses (1)

cui,xingxing
cui,xingxing le 11 Sep 2024
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

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by