Merge pull request #101557 from btgs-0/empty-project-window-flowcontainer-101530

Make the `empty_list_actions` HBoxContainer into a FlowContainer.
This commit is contained in:
Thaddeus Crews 2025-01-16 17:17:55 -06:00
commit 7dba09882a
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -1430,8 +1430,8 @@ ProjectManager::ProjectManager(bool p_custom_res) {
empty_list_message->set_text(vformat("[center][b]%s[/b] %s[/center]", line1, line2));
empty_list_placeholder->add_child(empty_list_message);
HBoxContainer *empty_list_actions = memnew(HBoxContainer);
empty_list_actions->set_alignment(BoxContainer::ALIGNMENT_CENTER);
FlowContainer *empty_list_actions = memnew(FlowContainer);
empty_list_actions->set_alignment(FlowContainer::ALIGNMENT_CENTER);
empty_list_placeholder->add_child(empty_list_actions);
empty_list_create_project = memnew(Button);