aboutsummaryrefslogtreecommitdiff
path: root/editor/property_editor.cpp
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias2017-12-21 13:00:25 -0200
committerMichael Alexsander Silva Dias2017-12-21 15:26:46 -0200
commite86454fb385994a874944790abfb4c03121ded0a (patch)
treeef288325e75a9de98cb74bb46c31f6a5d3671e40 /editor/property_editor.cpp
parent1fa9aac3e415f53a095e955c8a37000629d56dde (diff)
downloadgodot-e86454fb385994a874944790abfb4c03121ded0a.tar.gz
godot-e86454fb385994a874944790abfb4c03121ded0a.tar.zst
godot-e86454fb385994a874944790abfb4c03121ded0a.zip
Fixes and modifications for some dialogs.
Diffstat (limited to '')
-rw-r--r--editor/property_editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp
index 47feac9a1..64351dec4 100644
--- a/editor/property_editor.cpp
+++ b/editor/property_editor.cpp
@@ -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);