How to change width/size/font of tabs in a tab group in AppDesigner?

조회 수: 35 (최근 30일)
Sergio Huerta
Sergio Huerta 2021년 2월 19일
댓글: Joy 2025년 7월 16일
Hello, is it possible to change the width of the tabs or font size in the tabGroup component of app designer? I couldnt find anything in the documentation.
  댓글 수: 3
琳杰
琳杰 2025년 7월 4일
이동: Walter Roberson 2025년 7월 4일
I can't believe this problem is still here. Not solved!
Joy
Joy 2025년 7월 16일
There is no solution to this as long as you are using Matlab for your GUIs.
Likewise you can not change the background color of the tab group. The answers below this involve creating buttons to "cover up" the tabs - this is not a real solution; it is very hacky and expensive compared to "just expose those properties, we know you have them".

댓글을 달려면 로그인하십시오.

답변 (2개)

Lee
Lee 2022년 7월 26일
The fact there is no built in way to control their appearance within Matlab is shocking... As an alternative, I can only suggest using a toggle button group, combined with a bunch of layered panels that you control the visibility of. However, I have worked like this and it makes editting the layout a pain because you have to keep reordering the panels, and it's easy to lose access to one behind the others, especially with many 'tabs'.
Please Matlab, how hard is it to add font size to the properties? And have the tab ribbon itself expand to accomodate the larger text - or better yet a dimension on the ribbon height/width?

Anmol Dhiman
Anmol Dhiman 2021년 2월 23일
Hi Sergio,
Here is answer to a similar question.
Hope it helps

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by