summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-11-19 21:43:20 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-11-19 21:43:20 -0300
commit85eedffbc77d9bdd92c8851aea09146feaf2d843 (patch)
treee7fbea02e9f1aaddc4d6a7d29b1779f734b5da92 /tools/editor
parent2769da7744d142c29e6847074bc5b597a11902fb (diff)
parentfa12ab8f027fa8706f3588ac6616d8ec87989529 (diff)
Merge pull request #2842 from eska014/fix-help-display
Fix help display
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/editor_help.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/editor_help.cpp b/tools/editor/editor_help.cpp
index 1bc09c5102..321ac76240 100644
--- a/tools/editor/editor_help.cpp
+++ b/tools/editor/editor_help.cpp
@@ -1428,7 +1428,8 @@ EditorHelp::EditorHelp() {
{
Panel *pc = memnew( Panel );
Ref<StyleBoxFlat> style( memnew( StyleBoxFlat ) );
- style->set_bg_color( EditorSettings::get_singleton()->get("text_editor/background_color") );
+ style->set_bg_color( EditorSettings::get_singleton()->get("text_editor/background_color") );
+ pc->set_v_size_flags(SIZE_EXPAND_FILL);
pc->add_style_override("panel", style); //get_stylebox("normal","TextEdit"));
vbc->add_child(pc);
class_desc = memnew( RichTextLabel );