Fixes and modifications for some dialogs.

This commit is contained in:
Michael Alexsander Silva Dias 2017-12-21 13:00:25 -02:00
parent 1fa9aac3e4
commit e86454fb38
3 changed files with 35 additions and 23 deletions

View file

@ -4591,6 +4591,8 @@ SectionedPropertyEditor::SectionedPropertyEditor() {
search_box = NULL;
add_constant_override("autohide", 1); // Fixes the dragger always showing up
VBoxContainer *left_vb = memnew(VBoxContainer);
left_vb->set_custom_minimum_size(Size2(170, 0) * EDSCALE);
add_child(left_vb);
@ -4602,6 +4604,7 @@ SectionedPropertyEditor::SectionedPropertyEditor() {
left_vb->add_child(sections, true);
VBoxContainer *right_vb = memnew(VBoxContainer);
right_vb->set_custom_minimum_size(Size2(300, 0) * EDSCALE);
right_vb->set_h_size_flags(SIZE_EXPAND_FILL);
add_child(right_vb);