瀏覽代碼

Align autoload columns to the left

Vojtěch Struhár 3 月之前
父節點
當前提交
f985abbf83
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      editor/settings/editor_autoload_settings.cpp

+ 2 - 0
editor/settings/editor_autoload_settings.cpp

@@ -957,10 +957,12 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
 	tree->set_column_titles_visible(true);
 	tree->set_column_titles_visible(true);
 
 
 	tree->set_column_title(0, TTRC("Name"));
 	tree->set_column_title(0, TTRC("Name"));
+	tree->set_column_title_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
 	tree->set_column_expand(0, true);
 	tree->set_column_expand(0, true);
 	tree->set_column_expand_ratio(0, 1);
 	tree->set_column_expand_ratio(0, 1);
 
 
 	tree->set_column_title(1, TTRC("Path"));
 	tree->set_column_title(1, TTRC("Path"));
+	tree->set_column_title_alignment(1, HORIZONTAL_ALIGNMENT_LEFT);
 	tree->set_column_expand(1, true);
 	tree->set_column_expand(1, true);
 	tree->set_column_clip_content(1, true);
 	tree->set_column_clip_content(1, true);
 	tree->set_column_expand_ratio(1, 2);
 	tree->set_column_expand_ratio(1, 2);