Remove or Undo GridLayout with App Designer.

8 Ansichten (letzte 30 Tage)
Bandar
Bandar am 16 Dez. 2019
Bearbeitet: Gaurav Pokharkar am 3 Jun. 2020
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.

Antworten (2)

Luna
Luna am 16 Dez. 2019
Hi,
Go to Canvas Tab, remove the tick on the "Show Grid" box.
Capture.JPG
  3 Kommentare
Luna
Luna am 16 Dez. 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
Bandar am 30 Dez. 2019
But this approach is useless. I need something in GUI to easily remove it without programmatically remove it.

Melden Sie sich an, um zu kommentieren.


Gaurav Pokharkar
Gaurav Pokharkar am 3 Jun. 2020
Bearbeitet: Gaurav Pokharkar am 3 Jun. 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.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by