diff options
| author | Bernhard Liebl | 2018-03-11 15:28:23 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-28 16:28:47 +0200 |
| commit | dc97f91a1873e82c0b3ab397284712298cc32fa5 (patch) | |
| tree | b9d18c2e2cf8f3139979da93137fc4a0ec6c862d /editor/editor_autoload_settings.cpp | |
| parent | 171542d96aa47baa4ec02308e6abbf9f0929d25d (diff) | |
| download | godot-dc97f91a1873e82c0b3ab397284712298cc32fa5.tar.gz godot-dc97f91a1873e82c0b3ab397284712298cc32fa5.tar.zst godot-dc97f91a1873e82c0b3ab397284712298cc32fa5.zip | |
Fix column width on AutoLoad table on hidpi displays
(cherry picked from commit f494d5ac5cb849f6fbe80e0b84449e9d8f361e32)
Diffstat (limited to 'editor/editor_autoload_settings.cpp')
| -rw-r--r-- | editor/editor_autoload_settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_autoload_settings.cpp b/editor/editor_autoload_settings.cpp index 393c33c1b..bc5fa7046 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"); |
