diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2018-05-06 17:36:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-06 17:36:02 +0200 |
commit | baa39339681d1a3dd60a41f58c363a1fce176073 (patch) | |
tree | 9145189952a1e0faf7325c14a90c8eb09bbc31ed /editor/editor_themes.cpp | |
parent | 2bf71d0eeadbd2e497b1555bf1f04993f7f3d63a (diff) | |
parent | c364a1278e1e499f40dccadbd78b76bbe6e44604 (diff) |
Merge pull request #18645 from AlexHoratio/light_theme_asset_store
LinkButtons are now responsive to engine theme
Diffstat (limited to 'editor/editor_themes.cpp')
-rw-r--r-- | editor/editor_themes.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index e93df835e4..bf7236cc2b 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -912,6 +912,10 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_constant("shadow_as_outline", "Label", 0 * EDSCALE); theme->set_constant("line_spacing", "Label", 3 * EDSCALE); + // LinkButton + theme->set_stylebox("focus", "LinkButton", style_empty); + theme->set_color("font_color", "LinkButton", font_color); + // TooltipPanel Ref<StyleBoxFlat> style_tooltip = style_popup->duplicate(); style_tooltip->set_bg_color(Color(mono_color.r, mono_color.g, mono_color.b, 0.9)); |