summaryrefslogtreecommitdiffstats
path: root/editor/editor_help.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-10 20:28:17 +0100
committerGitHub <noreply@github.com>2019-02-10 20:28:17 +0100
commit1fe2e715cb10e3323cf37a050542af9f5d4db37e (patch)
tree7dde083e103bb1f851ed5edb0a6f821e5743f4d7 /editor/editor_help.h
parenteda4be193fd736d362184bc937efc99c1faa18c3 (diff)
parent4fd7115e13f1b59e2340db647fe3476a34439481 (diff)
downloadredot-engine-1fe2e715cb10e3323cf37a050542af9f5d4db37e.tar.gz
Merge pull request #25770 from YeldhamDev/search_bar_cleanup
General cleanup of script and doc search bars
Diffstat (limited to 'editor/editor_help.h')
-rw-r--r--editor/editor_help.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/editor/editor_help.h b/editor/editor_help.h
index 133d98f81f..3b17580a63 100644
--- a/editor/editor_help.h
+++ b/editor/editor_help.h
@@ -34,6 +34,7 @@
#include "editor/code_editor.h"
#include "editor/doc/doc_data.h"
#include "editor/editor_plugin.h"
+#include "scene/gui/margin_container.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/panel_container.h"
#include "scene/gui/rich_text_label.h"
@@ -52,10 +53,6 @@ class FindBar : public HBoxContainer {
TextureButton *hide_button;
String prev_search;
- Control *container;
- HBoxContainer *hbc;
- VBoxContainer *vbc_search_text;
-
RichTextLabel *rich_text_label;
void _show_search();
@@ -191,9 +188,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);