diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-25 19:04:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 19:04:25 +0200 |
commit | 76ec77d8b42c95fe1771b92f499b894c12ba2a8e (patch) | |
tree | d3c61b9fe5425e70e7b75825b57a1d7135576cac | |
parent | faddbcfc0c5b1d2281b58f671c9cbf4e187eb97f (diff) | |
parent | 44e32ba75c1b5bd92dba2ca74bb29814e675c599 (diff) |
Merge pull request #60452 from Rindbee/fix-font_size-not-working-in-TabContainer
Fix `font_size` not working in `TabContainer`
-rw-r--r-- | scene/gui/tab_container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tab_container.cpp b/scene/gui/tab_container.cpp index ffb5e54b0b..3a3a84b481 100644 --- a/scene/gui/tab_container.cpp +++ b/scene/gui/tab_container.cpp @@ -208,7 +208,7 @@ void TabContainer::_on_theme_changed() { tab_bar->add_theme_color_override(SNAME("font_disabled_color"), get_theme_color(SNAME("font_disabled_color"))); tab_bar->add_theme_color_override(SNAME("font_outline_color"), get_theme_color(SNAME("font_outline_color"))); tab_bar->add_theme_font_override(SNAME("font"), get_theme_font(SNAME("font"))); - tab_bar->add_theme_constant_override(SNAME("font_size"), get_theme_constant(SNAME("font_size"))); + tab_bar->add_theme_font_size_override(SNAME("font_size"), get_theme_font_size(SNAME("font_size"))); tab_bar->add_theme_constant_override(SNAME("h_separation"), get_theme_constant(SNAME("icon_separation"))); tab_bar->add_theme_constant_override(SNAME("outline_size"), get_theme_constant(SNAME("outline_size"))); |