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

조회 수: 3 (최근 30일)
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

채택된 답변

Harshavardhan
Harshavardhan 2025년 2월 21일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by