appdesigner insert container hierarchically above already placed containers

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.

 Réponse acceptée

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.

Plus de réponses (0)

Catégories

En savoir plus sur App Building dans Centre d'aide et File Exchange

Produits

Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by