diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-12 18:19:08 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-01-12 18:19:39 +0100 |
commit | 2f56146242d58663ca28c3af6f74e743366062a1 (patch) | |
tree | 691d7047869e0146c71d3148d73f8e4481f99280 /editor/plugins | |
parent | 269eb5f06c8874e1257137eabe121d4501758ded (diff) |
Increase the size of the item list editor popup
This makes it easier to edit large amounts of items.
This partially addresses
https://github.com/godotengine/godot-proposals/issues/368.
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/item_list_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/item_list_editor_plugin.cpp b/editor/plugins/item_list_editor_plugin.cpp index 39dc130f42..9f836ed0d3 100644 --- a/editor/plugins/item_list_editor_plugin.cpp +++ b/editor/plugins/item_list_editor_plugin.cpp @@ -302,7 +302,7 @@ void ItemListEditor::_delete_pressed() { void ItemListEditor::_edit_items() { - dialog->popup_centered(Vector2(300, 400) * EDSCALE); + dialog->popup_centered_clamped(Vector2(425, 1200) * EDSCALE, 0.8); } void ItemListEditor::edit(Node *p_item_list) { |