From 03e84abfa5a70fd2ea8b2df3ffea0a6a6c8c19e1 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Sat, 4 Jun 2022 00:20:09 +0800 Subject: [PATCH] Fix empty space after project sort options --- editor/project_manager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index a6f024c2fce..53f5d95f4be 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -2490,10 +2490,9 @@ ProjectManager::ProjectManager() { project_order_filter = memnew(ProjectListFilter); project_order_filter->add_filter_option(); project_order_filter->_setup_filters(sort_filter_titles); - project_order_filter->set_filter_size(150); + project_order_filter->set_filter_size(180); sort_filters->add_child(project_order_filter); project_order_filter->connect("filter_changed", this, "_on_order_option_changed"); - project_order_filter->set_custom_minimum_size(Size2(180, 10) * EDSCALE); const int projects_sorting_order = (int)EditorSettings::get_singleton()->get("project_manager/sorting_order"); project_order_filter->set_filter_option((ProjectListFilter::FilterOption)projects_sorting_order);