瀏覽代碼

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 年之前
父節點
當前提交
e19f7b3c38
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);