mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Clean up setting dialogues a bit.
This commit is contained in:
parent
cacab4ba62
commit
0d04f212a3
6 changed files with 81 additions and 45 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue