diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-14 18:11:55 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-09-14 18:11:55 +0200 |
commit | 8f33542ac3661afdaea3850159598e1311f25a6f (patch) | |
tree | aca64fa9919db7ff58b279f5b87e69598afd9467 /editor | |
parent | c9df3fbfdb03d9d9fd6ba4740dcbd800e39a3e04 (diff) |
ProjectSettings: Fix InputMap editor on HiDPI
Fixes #20898.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/project_settings_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 1baf606e7b..7a68646f40 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -1840,9 +1840,9 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) { input_editor->set_column_title(0, TTR("Action")); input_editor->set_column_title(1, TTR("Deadzone")); input_editor->set_column_expand(1, false); - input_editor->set_column_min_width(1, 80); + input_editor->set_column_min_width(1, 80 * EDSCALE); input_editor->set_column_expand(2, false); - input_editor->set_column_min_width(2, 50); + input_editor->set_column_min_width(2, 50 * EDSCALE); input_editor->connect("item_edited", this, "_action_edited"); input_editor->connect("item_activated", this, "_action_activated"); input_editor->connect("cell_selected", this, "_action_selected"); |