Merge pull request #31249 from Calinou/tweak-multiline-text-popup-size

Tweak the size of the multiline text edit popup dialog
This commit is contained in:
Rémi Verschelde 2019-08-12 10:00:19 +02:00 committed by GitHub
commit 72670788bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ void EditorPropertyMultilineText::_open_big_text() {
add_child(big_text_dialog); add_child(big_text_dialog);
} }
big_text_dialog->popup_centered_ratio(); big_text_dialog->popup_centered_clamped(Size2(1000, 900) * EDSCALE, 0.8);
big_text->set_text(text->get_text()); big_text->set_text(text->get_text());
big_text->grab_focus(); big_text->grab_focus();
} }