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:
parent
b17b51d970
commit
e19f7b3c38
|
@ -316,7 +316,7 @@ SectionedInspector::SectionedInspector() :
|
||||||
add_constant_override("autohide", 1); // Fixes the dragger always showing up
|
add_constant_override("autohide", 1); // Fixes the dragger always showing up
|
||||||
|
|
||||||
VBoxContainer *left_vb = memnew(VBoxContainer);
|
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);
|
add_child(left_vb);
|
||||||
|
|
||||||
sections->set_v_size_flags(SIZE_EXPAND_FILL);
|
sections->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
|
|
Loading…
Reference in New Issue