appdesigner insert container hierarchically above already placed containers

15 views (last 30 days)
Hi.
Let us imagine having created an app with axes, labels, sliders, buttons, etc. All of these objects are aligned with a Grid Layout container. See Fig1. Now, let us say we want to create a second tab, where we can use more GUI objects to place. For this I choose the Tab Group container. However, appdesigner does not allow to create the Tab Group container hierarchically above the Grid Layout container (See Fig2). I only can pick and place the Tab Group container into the grid layout itself (Fig3).
Is there a way to create container objects hierarchically above already placed containers?
Fig1. How an example GUI might look like.
Fig2. When I drag the Tab Group container into the Component browser.
Fig3. Tab Group container can only be inserted into grid layout.

Accepted Answer

Inception
Inception on 7 May 2022
Well, I managed to do it. Actually it is quite easy. Create a Tab Group outside the current GUI.
Drag and drop the current GUI into the Tab Group
Drag and drop the Tab Group into the main GUI and resize.

More Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!