summaryrefslogtreecommitdiffstats
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorRay Koopa <raykoopa@users.noreply.github.com>2017-12-17 18:22:26 +0100
committerRay Koopa <raykoopa@users.noreply.github.com>2017-12-17 18:39:36 +0100
commit0d04f212a361f6799b2990a0dcad48dc9f49d7cc (patch)
tree0ed466fd244efc761fde766b70065c7c557fef32 /editor/property_editor.cpp
parentcacab4ba6204aa36ddbc85d55705ab82b45e7930 (diff)
downloadredot-engine-0d04f212a361f6799b2990a0dcad48dc9f49d7cc.tar.gz
Clean up setting dialogues a bit.
Diffstat (limited to 'editor/property_editor.cpp')
-rw-r--r--editor/property_editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 623b0e15ab..47feac9a12 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -4599,7 +4599,7 @@ SectionedPropertyEditor::SectionedPropertyEditor() {
sections->set_v_size_flags(SIZE_EXPAND_FILL);
sections->set_hide_root(true);
- left_vb->add_margin_child(TTR("Sections:"), sections, true);
+ left_vb->add_child(sections, true);
VBoxContainer *right_vb = memnew(VBoxContainer);
right_vb->set_h_size_flags(SIZE_EXPAND_FILL);
@@ -4608,7 +4608,7 @@ SectionedPropertyEditor::SectionedPropertyEditor() {
filter = memnew(SectionedPropertyEditorFilter);
editor = memnew(PropertyEditor);
editor->set_v_size_flags(SIZE_EXPAND_FILL);
- right_vb->add_margin_child(TTR("Properties:"), editor, true);
+ right_vb->add_child(editor, true);
editor->get_scene_tree()->set_column_titles_visible(false);