diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-07 08:48:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 08:48:37 +0200 |
commit | fedf9c5c947ed430bd559f6a25d45b5d66754e96 (patch) | |
tree | 6a844ec89fff28f5ba938fdcc901d06191e13a0e | |
parent | befbdda7f269cae440640b88e3cbf8fbb7e6a614 (diff) | |
parent | 446ca21efa2dce8145ba95e4fe4d450fd4f7aca9 (diff) | |
download | redot-engine-fedf9c5c947ed430bd559f6a25d45b5d66754e96.tar.gz |
Merge pull request #37643 from YeldhamDev/help_tooltip_paneless
Remove unnecessary panel in EditorHelpBit
-rw-r--r-- | editor/editor_help.h | 4 | ||||
-rw-r--r-- | editor/editor_themes.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/editor/editor_help.h b/editor/editor_help.h index d9c7194003..2e053e674f 100644 --- a/editor/editor_help.h +++ b/editor/editor_help.h @@ -192,9 +192,9 @@ public: ~EditorHelp(); }; -class EditorHelpBit : public PanelContainer { +class EditorHelpBit : public MarginContainer { - GDCLASS(EditorHelpBit, PanelContainer); + GDCLASS(EditorHelpBit, MarginContainer); RichTextLabel *rich_text; void _go_to_help(String p_what); diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index a9af29ddf2..37bca661dd 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -977,8 +977,6 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) { theme->set_stylebox("focus", "RichTextLabel", make_empty_stylebox()); theme->set_stylebox("normal", "RichTextLabel", style_tree_bg); - theme->set_stylebox("panel", "EditorHelpBit", make_flat_stylebox(dark_color_1, 6, 4, 6, 4)); - theme->set_color("headline_color", "EditorHelp", mono_color); // Panel |