summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-08-12 10:00:19 +0200
committerGitHub <noreply@github.com>2019-08-12 10:00:19 +0200
commit72670788bbb93f4a8e0e2bd92499b23d06c122d8 (patch)
tree744636b8936d55d63da839586c6300adb16a3b5c /editor
parenta1dde733726cfd4a86235e42bf691024a964dc35 (diff)
parentca4254102084e592b8c6a6e9ab14f0c7b7cc81e4 (diff)
Merge pull request #31249 from Calinou/tweak-multiline-text-popup-size
Tweak the size of the multiline text edit popup dialog
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp
index 3300228921..20ba07c102 100644
--- a/editor/editor_properties.cpp
+++ b/editor/editor_properties.cpp
@@ -116,7 +116,7 @@ void EditorPropertyMultilineText::_open_big_text() {
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->grab_focus();
}