how to resize tab group "labels" section from "elements" in App Designer

23 Ansichten (letzte 30 Tage)
Hello,
is there any way to auto resize the portion of screen dedicated to tab group labels to fit the text of the labels in the tab group in App Designer?
As you can see in this picture, tab names are truncated, I want to move the separator more to the right but it seems this is not possible from the App Designer... Is there any "coding way" to achieve that result?
Thanks

Akzeptierte Antwort

Harshavardhan
Harshavardhan am 21 Feb. 2025
From what I understand, you want to resize the label width so that the tab labels can be fully seen without being cut off.
Unfortunately there seems to be a Maximum Width for long titles located on the left or right.
However you can set the behaviour to show the title name when you hover the mouse over the tab using "tooltip" as a workaround. Please refer to the following documentation page:
or type the following line in a MATLAB command window
doc tabgroup
In order to add the tooltip behaviour using App Designer, please perform the following steps:
  • Click on the desired tab
  • Expand the "Interactivity" tab on Component Browser
  • Enter the desired text or label in the "Tooltip" field.
Hope this helps.

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by