Borrar filtros
Borrar filtros

Remove or Undo GridLayout with App Designer.

19 visualizaciones (últimos 30 días)
Bandar el 16 de Dic. de 2019
Comentada: Harman el 25 de Mayo de 2024 a las 20:20
I'm using app designer. I've noticed I can't undo or remove grid layout. Is there any solution for this problem? I'm using Matlab R2019b.

Respuestas (2)

Luna el 16 de Dic. de 2019
Go to Canvas Tab, remove the tick on the "Show Grid" box.
  3 comentarios
Luna el 16 de Dic. de 2019
%% create grid layout
hFig = uifigure; g = uigridlayout(hFig)
%% create buttons on it
b1 = uibutton(g)
b2 = uibutton(g)
b3 = uibutton(g)
b4 = uibutton(g)
g.delete % remove
Bandar el 30 de Dic. de 2019
But this approach is useless. I need something in GUI to easily remove it without programmatically remove it.

Iniciar sesión para comentar.

Gaurav Pokharkar
Gaurav Pokharkar el 3 de Jun. de 2020
Editada: Gaurav Pokharkar el 3 de Jun. de 2020
Hello Bandar, I am facing same issue, were able to remove the grid layout. Can you please explain me the method? I accidentally added the gridlayout, now I want to delete it withou out deleting the dependent child components.
  1 comentario
Harman el 25 de Mayo de 2024 a las 20:20
  1. Click on the GridLayout section in the Component Browser.
  2. There should be a small button towards the left side of the GUI Window.
  3. Click on the button. There, you will find the option to disable the Grid Layout.

Iniciar sesión para comentar.


Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.





Community Treasure Hunt

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

Start Hunting!

Translated by