Browse Source

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.
Hugo Locurcio 6 năm trước cách đây
mục cha
commit
e19f7b3c38
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/editor_sectioned_inspector.cpp

+ 1 - 1
editor/editor_sectioned_inspector.cpp

@@ -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);