Merge pull request #111766 from kitbdev/speed_up_spinbox_creation

Improve performance of SpinBox creation
This commit is contained in:
Thaddeus Crews 2025-10-27 10:01:35 -05:00
commit 6d32d3df75
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
3 changed files with 1 additions and 2 deletions

View file

@ -123,6 +123,7 @@ GotoLinePopup::GotoLinePopup() {
vbc->add_child(l);
line_input = memnew(LineEdit);
line_input->set_emoji_menu_enabled(false);
line_input->set_custom_minimum_size(Size2(100, 0) * EDSCALE);
line_input->set_select_all_on_focus(true);
line_input->connect(SceneStringName(text_changed), callable_mp(this, &GotoLinePopup::_goto_line).unbind(1));