Increase the minimum width of the editor sectioned inspector

This makes sure section names such as "Window Placement" or
"Vram Compression" aren't being cut off due to the panel width
being too low.
This commit is contained in:
Hugo Locurcio 2019-08-31 20:39:13 +02:00
parent b17b51d970
commit e19f7b3c38
No known key found for this signature in database
GPG key ID: 39E8F8BE30B0A49C

View file

@ -316,7 +316,7 @@ SectionedInspector::SectionedInspector() :
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);
left_vb->set_custom_minimum_size(Size2(190, 0) * EDSCALE);
add_child(left_vb);
sections->set_v_size_flags(SIZE_EXPAND_FILL);