فهرست منبع

Merge pull request #17441 from poke1024/fix-autoload-column-width

Fix column width on AutoLoad table on hidpi displays
Rémi Verschelde 7 سال پیش
والد
کامیت
71cc0df311
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      editor/editor_autoload_settings.cpp

+ 2 - 2
editor/editor_autoload_settings.cpp

@@ -643,10 +643,10 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
 
 	tree->set_column_title(2, TTR("Singleton"));
 	tree->set_column_expand(2, false);
-	tree->set_column_min_width(2, 80);
+	tree->set_column_min_width(2, 80 * EDSCALE);
 
 	tree->set_column_expand(3, false);
-	tree->set_column_min_width(3, 120);
+	tree->set_column_min_width(3, 120 * EDSCALE);
 
 	tree->connect("cell_selected", this, "_autoload_selected");
 	tree->connect("item_edited", this, "_autoload_edited");