From 6d828984707958031591f681a75793aeca83036b Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Fri, 8 May 2020 09:03:52 +0300 Subject: Reveals Button "icon_color" style properties to the user --- scene/resources/default_theme/default_theme.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scene/resources/default_theme/default_theme.cpp') diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp index 5449fdc039..80ecff52f1 100644 --- a/scene/resources/default_theme/default_theme.cpp +++ b/scene/resources/default_theme/default_theme.cpp @@ -191,6 +191,12 @@ void fill_default_theme(Ref &theme, const Ref &default_font, const theme->set_color("font_disabled_color", "Button", control_font_disabled_color); theme->set_color("font_outline_color", "Button", Color(1, 1, 1)); + theme->set_color("icon_normal_color", "Button", Color(1, 1, 1, 1)); + theme->set_color("icon_pressed_color", "Button", Color(1, 1, 1, 1)); + theme->set_color("icon_hover_color", "Button", Color(1, 1, 1, 1)); + theme->set_color("icon_hover_pressed_color", "Button", Color(1, 1, 1, 1)); + theme->set_color("icon_disabled_color", "Button", Color(1, 1, 1, 1)); + theme->set_constant("hseparation", "Button", 2 * scale); // LinkButton -- cgit v1.2.3