From 12430f9dce4393be722de1299429d610651280ca Mon Sep 17 00:00:00 2001 From: Danil Alexeev Date: Tue, 4 Jun 2024 12:43:59 +0300 Subject: [PATCH] Editor: Swap last edited date and version/warning in Project Manager --- editor/project_manager/project_list.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/editor/project_manager/project_list.cpp b/editor/project_manager/project_list.cpp index f474464f6c1..0480be508a5 100644 --- a/editor/project_manager/project_list.cpp +++ b/editor/project_manager/project_list.cpp @@ -295,13 +295,6 @@ ProjectListItemControl::ProjectListItemControl() { project_path->set_modulate(Color(1, 1, 1, 0.5)); path_hb->add_child(project_path); - last_edited_info = memnew(Label); - last_edited_info->set_name("LastEditedInfo"); - last_edited_info->set_mouse_filter(Control::MOUSE_FILTER_PASS); - last_edited_info->set_tooltip_text("Last edited timestamp"); - last_edited_info->set_modulate(Color(1, 1, 1, 0.5)); - path_hb->add_child(last_edited_info); - project_unsupported_features = memnew(TextureRect); project_unsupported_features->set_name("ProjectUnsupportedFeatures"); project_unsupported_features->set_stretch_mode(TextureRect::STRETCH_KEEP_CENTERED); @@ -313,6 +306,13 @@ ProjectListItemControl::ProjectListItemControl() { project_version->set_mouse_filter(Control::MOUSE_FILTER_PASS); path_hb->add_child(project_version); + last_edited_info = memnew(Label); + last_edited_info->set_name("LastEditedInfo"); + last_edited_info->set_mouse_filter(Control::MOUSE_FILTER_PASS); + last_edited_info->set_tooltip_text(TTR("Last edited timestamp")); + last_edited_info->set_modulate(Color(1, 1, 1, 0.5)); + path_hb->add_child(last_edited_info); + Control *spacer = memnew(Control); spacer->set_custom_minimum_size(Size2(10, 10)); path_hb->add_child(spacer);