Remove or Undo GridLayout with App Designer.

8 ビュー (過去 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 Center および File ExchangeDevelop 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