diff options
author | kobewi <kobewi4e@gmail.com> | 2022-06-09 22:23:11 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-06-09 22:23:11 +0200 |
commit | 9036fcbe5ea213c3bfef3b573e2bc13b2f933409 (patch) | |
tree | 036d15477b28bbcc3b9d76d2ee1c452213654e95 /editor | |
parent | d120b099f528673fb6aebaa5d9cff0fa91a774d0 (diff) |
Remove TooltipPanel and TooltipLabel
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_themes.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index fa106979be..3c3fe77e28 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -1405,7 +1405,9 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_color("font_pressed_color", "LinkButton", accent_color); theme->set_color("font_disabled_color", "LinkButton", font_disabled_color); - // TooltipPanel + // TooltipPanel + TooltipLabel + // TooltipPanel is also used for custom tooltips, while TooltipLabel + // is only relevant for default tooltips. Ref<StyleBoxFlat> style_tooltip = style_popup->duplicate(); style_tooltip->set_shadow_size(0); style_tooltip->set_default_margin(SIDE_LEFT, default_margin_size * EDSCALE * 0.5); |