summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-02-17 19:06:42 -0300
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-02-17 19:06:42 -0300
commitfe893bd6ef58878babc1f3a6f721cc6e984ecf20 (patch)
treebd2f6f19850f5bdf65138411962272d462e8a0be /editor
parent006561a0815016bf89ab604371dd0ae29b5c63bd (diff)
Fix description size in "New Node" dialog
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_help.cpp1
-rw-r--r--editor/editor_help.h4
2 files changed, 3 insertions, 2 deletions
diff --git a/editor/editor_help.cpp b/editor/editor_help.cpp
index 564148ae4e..e0acc5cd70 100644
--- a/editor/editor_help.cpp
+++ b/editor/editor_help.cpp
@@ -1511,6 +1511,7 @@ EditorHelpBit::EditorHelpBit() {
rich_text->connect("meta_clicked", this, "_meta_clicked");
rich_text->add_color_override("selection_color", EditorSettings::get_singleton()->get("text_editor/theme/selection_color"));
rich_text->set_override_selected_font_color(false);
+ set_custom_minimum_size(Size2(0, 70 * EDSCALE));
}
FindBar::FindBar() {
diff --git a/editor/editor_help.h b/editor/editor_help.h
index 3b17580a63..a50ab8a9f9 100644
--- a/editor/editor_help.h
+++ b/editor/editor_help.h
@@ -188,9 +188,9 @@ public:
~EditorHelp();
};
-class EditorHelpBit : public MarginContainer {
+class EditorHelpBit : public PanelContainer {
- GDCLASS(EditorHelpBit, MarginContainer);
+ GDCLASS(EditorHelpBit, PanelContainer);
RichTextLabel *rich_text;
void _go_to_help(String p_what);