From aded18104b84d2d9b4e72c00eed77c983b532b1e Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Tue, 28 Aug 2018 19:13:24 +0200 Subject: [PATCH] Scale the Item List Editor window size with the editor scale Makes the dialog bigger and more usable on HiDPI screens. Fixes #21520 --- editor/plugins/item_list_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/item_list_editor_plugin.cpp b/editor/plugins/item_list_editor_plugin.cpp index f75fb0d1097..1f0b4e9e976 100644 --- a/editor/plugins/item_list_editor_plugin.cpp +++ b/editor/plugins/item_list_editor_plugin.cpp @@ -296,7 +296,7 @@ void ItemListEditor::_delete_pressed() { void ItemListEditor::_edit_items() { - dialog->popup_centered(Vector2(300, 400)); + dialog->popup_centered(Vector2(300, 400) * EDSCALE); } void ItemListEditor::edit(Node *p_item_list) {