Explorar el Código

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 hace 6 años
padre
commit
e19f7b3c38
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);