diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-15 18:25:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 18:25:38 +0200 |
commit | 9f1f59570c9cf0c73406a350d174fd9e72fbd2ac (patch) | |
tree | 1d467ffcfce727f32144feb1851622691d306611 /editor | |
parent | b574d29ed2f12621f05ee2d87e8da07bc849db65 (diff) | |
parent | 1e53bac8b48702bc8d80142094b956f20edee82c (diff) |
Merge pull request #48619 from Calinou/editor-autoload-rename-singleton
Rename "Singleton" to "Global Variable" in the AutoLoad editor
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_autoload_settings.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index a39e693912..1a09b1ac7b 100644 --- a/editor/editor_autoload_settings.cpp +++ b/editor/editor_autoload_settings.cpp @@ -882,15 +882,16 @@ EditorAutoloadSettings::EditorAutoloadSettings() { tree->set_column_title(0, TTR("Name")); tree->set_column_expand(0, true); - tree->set_column_min_width(0, 100); + tree->set_column_min_width(0, 100 * EDSCALE); tree->set_column_title(1, TTR("Path")); tree->set_column_expand(1, true); - tree->set_column_min_width(1, 100); + tree->set_column_min_width(1, 100 * EDSCALE); - tree->set_column_title(2, TTR("Singleton")); + tree->set_column_title(2, TTR("Global Variable")); tree->set_column_expand(2, false); - tree->set_column_min_width(2, 80 * EDSCALE); + // Reserve enough space for translations of "Global Variable" which may be longer. + tree->set_column_min_width(2, 150 * EDSCALE); tree->set_column_expand(3, false); tree->set_column_min_width(3, 120 * EDSCALE); |