MATLAB Answers

App Designer Reflow of Items within Tabs

12 views (last 30 days)
I have a tab group that is my highest level of organization in my app. Within each tab, I have a series of panels that I would like to reflow when the app is resized. Right now they don't, because they are in a tab group. Is is possible to get the panels within a tab group to reflow as panels do when not in a tab group? I have pasted a shot of my app. The tab group is evident, and I have highlighted the two panels I want to reflow.
Thanks in advance.

  0 Comments

Sign in to comment.

Accepted Answer

Rajani Mishra
Rajani Mishra on 21 Aug 2019
Reflow is possible if an app is built using the reflow template. Currently app designer does not provide panels within a tab group as a starting template. Currently app designer offers either two or three panels as a starting template.
You can start with the template currently available and design accordingly.

  0 Comments

Sign in to comment.

More Answers (1)

Melissa Williams
Melissa Williams on 1 Oct 2019
You can implement the reflow yourself by adding a 1 row, 2 column grid to the tabs and adding your panels to each grid cell. This is how the reflow is implemented in the 2 and 3 panel apps. If you take a look at the generated code for a 2 panel reflowing app and look at the updateAppLayout function, you will see the logic behind it.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2019a