From dc97f91a1873e82c0b3ab397284712298cc32fa5 Mon Sep 17 00:00:00 2001 From: Bernhard Liebl Date: Sun, 11 Mar 2018 15:28:23 +0100 Subject: [PATCH] Fix column width on AutoLoad table on hidpi displays (cherry picked from commit f494d5ac5cb849f6fbe80e0b84449e9d8f361e32) --- editor/editor_autoload_settings.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index 393c33c1b02..bc5fa704657 100644 --- a/editor/editor_autoload_settings.cpp +++ b/editor/editor_autoload_settings.cpp @@ -592,10 +592,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, 80); + tree->set_column_min_width(3, 80 * EDSCALE); tree->connect("cell_selected", this, "_autoload_selected"); tree->connect("item_edited", this, "_autoload_edited");