UITabGroup titles are clipped

조회 수: 8 (최근 30일)
Dominik Lechleitner
Dominik Lechleitner 2022년 9월 16일
댓글: Mr.Tentacles 2023년 10월 6일
Hello,
I'm using the AppDesigner to build an app. I want to use an UITabGroup with tab location set to "left". However, if I use long tab titles in R2020a or later then they are clipped.
Here is an example with location "top" (all is fine):
Here is an example with location "left":
As can be seen, the long tab title is clipped. I haven't found a way to change this behavior. Interestingly, this does not happen with R2019a.
Does anybody know of a way to make the tab titles being displayed fully? I have attached the mlapp file I used to take the screenshots from above.
Any help would be appreciated!
Regards,
Dominik

답변 (1개)

Eric Delgado
Eric Delgado 2022년 9월 23일
Hey @Dominik Lechleitner, it's not possible, but at the end of the day, why are you trying to do that? Let's do something more beautiful! Let's try a tab group controlled by a graphic menu... See code attached made on R2021b (if you are working on a different release of Matlab, you have to open App Designer and save the file before run it).
  댓글 수: 5
Eric Delgado
Eric Delgado 2023년 10월 5일
I am using this approach (menu buttons controlling a tabgroup switch) right now. See the image below. Hope it inspires you! :)
Mr.Tentacles
Mr.Tentacles 2023년 10월 6일
This is very helpful thank you for the response!

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by