Borrar filtros
Borrar filtros

Change the uitabgroup's tab color or font color?

30 visualizaciones (últimos 30 días)
Song
Song el 1 de Abr. de 2015
Comentada: Adam H el 27 de Mzo. de 2023
Is it possible to change the uitabgroup's tab color or font color? e.g. I set the background color of uitabgroup to dark, so it would be better to set the color of tabs also to dark than the default light gray color.
Thanks
  1 comentario
Dynamite Schanes
Dynamite Schanes el 26 de Sept. de 2017
I'm looking for the same thing. I'll let you know if I find anything!!!1!

Iniciar sesión para comentar.

Respuestas (2)

Walter Roberson
Walter Roberson el 26 de Sept. de 2017
h = uitabgroup();
set(h, 'defaultUitabForegroundColor', [.2 .3 .4])
t1 = uitab(h, 'Title', 'Test 1');
get(t1, 'ForegroundColor')
Setting the font color is more difficult, and I have to ask "font for what, exactly" ?
  11 comentarios
Eric Delgado
Eric Delgado el 24 de Dic. de 2021
Why not put a panel with buttons in front of the tab control?!? The buttons callbacks emulate the tab selection. An app designed in Matlab doesn't need to be ugly! :)
Adam H
Adam H el 27 de Mzo. de 2023
R2022b, same issue still.

Iniciar sesión para comentar.


George Baltas
George Baltas el 12 de Oct. de 2018
Had the same problem. I am trying this for couple days now, almost thought about re-writing the whole GUI programmatically just to make my tabs behave the way I want. I hope next Matlab version will include this

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by