Fix TabContainer's font_hovered_color theme property
(cherry picked from commit d7bf05b490
)
This commit is contained in:
parent
904582b4a8
commit
a90aac5415
|
@ -162,6 +162,7 @@ void TabContainer::_update_theme_item_cache() {
|
||||||
theme_cache.drop_mark_color = get_theme_color(SNAME("drop_mark_color"));
|
theme_cache.drop_mark_color = get_theme_color(SNAME("drop_mark_color"));
|
||||||
|
|
||||||
theme_cache.font_selected_color = get_theme_color(SNAME("font_selected_color"));
|
theme_cache.font_selected_color = get_theme_color(SNAME("font_selected_color"));
|
||||||
|
theme_cache.font_hovered_color = get_theme_color(SNAME("font_hovered_color"));
|
||||||
theme_cache.font_unselected_color = get_theme_color(SNAME("font_unselected_color"));
|
theme_cache.font_unselected_color = get_theme_color(SNAME("font_unselected_color"));
|
||||||
theme_cache.font_disabled_color = get_theme_color(SNAME("font_disabled_color"));
|
theme_cache.font_disabled_color = get_theme_color(SNAME("font_disabled_color"));
|
||||||
theme_cache.font_outline_color = get_theme_color(SNAME("font_outline_color"));
|
theme_cache.font_outline_color = get_theme_color(SNAME("font_outline_color"));
|
||||||
|
@ -240,6 +241,7 @@ void TabContainer::_on_theme_changed() {
|
||||||
tab_bar->add_theme_color_override(SNAME("drop_mark_color"), theme_cache.drop_mark_color);
|
tab_bar->add_theme_color_override(SNAME("drop_mark_color"), theme_cache.drop_mark_color);
|
||||||
|
|
||||||
tab_bar->add_theme_color_override(SNAME("font_selected_color"), theme_cache.font_selected_color);
|
tab_bar->add_theme_color_override(SNAME("font_selected_color"), theme_cache.font_selected_color);
|
||||||
|
tab_bar->add_theme_color_override(SNAME("font_hovered_color"), theme_cache.font_hovered_color);
|
||||||
tab_bar->add_theme_color_override(SNAME("font_unselected_color"), theme_cache.font_unselected_color);
|
tab_bar->add_theme_color_override(SNAME("font_unselected_color"), theme_cache.font_unselected_color);
|
||||||
tab_bar->add_theme_color_override(SNAME("font_disabled_color"), theme_cache.font_disabled_color);
|
tab_bar->add_theme_color_override(SNAME("font_disabled_color"), theme_cache.font_disabled_color);
|
||||||
tab_bar->add_theme_color_override(SNAME("font_outline_color"), theme_cache.font_outline_color);
|
tab_bar->add_theme_color_override(SNAME("font_outline_color"), theme_cache.font_outline_color);
|
||||||
|
|
|
@ -75,6 +75,7 @@ class TabContainer : public Container {
|
||||||
Color drop_mark_color;
|
Color drop_mark_color;
|
||||||
|
|
||||||
Color font_selected_color;
|
Color font_selected_color;
|
||||||
|
Color font_hovered_color;
|
||||||
Color font_unselected_color;
|
Color font_unselected_color;
|
||||||
Color font_disabled_color;
|
Color font_disabled_color;
|
||||||
Color font_outline_color;
|
Color font_outline_color;
|
||||||
|
|
Loading…
Reference in New Issue