summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-12 12:05:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-12 12:05:21 -0300
commit83bf8036def06e8038891b1f143ac86c1d9b0c0c (patch)
tree592d7f10266550962de7ae4e83ddfda81ac3e5e7 /tools/editor
parent1785f6939f2db8e02776559c8a2b5c5d391ad909 (diff)
rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/plugins/theme_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/theme_editor_plugin.cpp b/tools/editor/plugins/theme_editor_plugin.cpp
index 37cb0398e7..2673948365 100644
--- a/tools/editor/plugins/theme_editor_plugin.cpp
+++ b/tools/editor/plugins/theme_editor_plugin.cpp
@@ -583,6 +583,7 @@ ThemeEditor::ThemeEditor() {
add_child(panel);
panel->set_area_as_parent_rect(0);
panel->set_margin(MARGIN_TOP,25);
+ panel->set_theme(Theme::get_default());
main_vb= memnew( VBoxContainer );
panel->add_child(main_vb);