フィルターのクリア

Change the uitabgroup's tab color or font color?

30 ビュー (過去 30 日間)
Song
Song 2015 年 4 月 1 日
コメント済み: Adam H 2023 年 3 月 27 日
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 件のコメント
Dynamite Schanes
Dynamite Schanes 2017 年 9 月 26 日
I'm looking for the same thing. I'll let you know if I find anything!!!1!

サインインしてコメントする。

回答 (2 件)

Walter Roberson
Walter Roberson 2017 年 9 月 26 日
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 件のコメント
Eric Delgado
Eric Delgado 2021 年 12 月 24 日
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 2023 年 3 月 27 日
R2022b, same issue still.

サインインしてコメントする。


George Baltas
George Baltas 2018 年 10 月 12 日
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

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by