From fa83cf3c962f182db9d953ee4af38e8bb6bdb0ef Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 28 Apr 2015 22:46:05 -0300 Subject: [PATCH] label properly adjusted to size when inserting key, fixes #1607 --- tools/editor/animation_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/editor/animation_editor.cpp b/tools/editor/animation_editor.cpp index 8d666f05084..c60c1d03d37 100644 --- a/tools/editor/animation_editor.cpp +++ b/tools/editor/animation_editor.cpp @@ -2538,7 +2538,7 @@ void AnimationKeyEditor::_query_insert(const InsertData& p_id) { insert_confirm->set_text("Create "+itos(insert_data.size())+" NEW tracks and insert keys?"); insert_confirm->get_ok()->set_text("Create"); - insert_confirm->popup_centered(Size2(300,100)); + insert_confirm->popup_centered_minsize(); insert_query=true; } else { call_deferred("_insert_delay");