appdesigner tab view issue

5 次查看(过去 30 天)
Yu Li
Yu Li 2023-9-5
回答: Sreeram 2024-8-16
Hi:
I have an app that showing the tab group at left, I noticed that when the tab name is too long, it will not be fully displayed. I tried to drag the corners of the tab but still not work, as shown in screen shot.
is there anyway to address this issue? i.e. to let the tab names fully shown.
Thanks!
Yu

回答(1 个)

Sreeram
Sreeram 2024-8-16
Hi Yu,
I could not find any direct way to increase the width of "TabGroup" in the App Designer.
However, I found that there is a toolbox in MATLAB File Exchange that supports changing the tab width and has some more customisations:
You can download the GUI Layout Toolbox and install it into MATLAB to use. You can create a "TabPanel" using "uix.TabPanel" and then change its "TabWidth" property.
Another workaround is to create button group and overlay it over the tabs as described in this answer.
Hope it helps.

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by