Remove or Undo GridLayout with App Designer.

조회 수: 7 (최근 30일)
Bandar
Bandar 2019년 12월 16일
편집: Gaurav Pokharkar 2020년 6월 3일
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.

답변 (2개)

Luna
Luna 2019년 12월 16일
Hi,
Go to Canvas Tab, remove the tick on the "Show Grid" box.
Capture.JPG
  댓글 수: 3
Luna
Luna 2019년 12월 16일
%% 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 2019년 12월 30일
But this approach is useless. I need something in GUI to easily remove it without programmatically remove it.

댓글을 달려면 로그인하십시오.


Gaurav Pokharkar
Gaurav Pokharkar 2020년 6월 3일
편집: Gaurav Pokharkar 2020년 6월 3일
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.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by