Skip to content

Commit

Permalink
Merge pull request #92751 from dalexeev/editor-pm-swap-date-and-version
Browse files Browse the repository at this point in the history
Editor: Swap last edited date and version/warning in Project Manager
  • Loading branch information
akien-mga committed Jun 4, 2024
2 parents 92ea322 + 12430f9 commit 5b13d71
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions editor/project_manager/project_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 5b13d71

Please sign in to comment.