Fix empty space after project sort options
This commit is contained in:
parent
a6b27b526f
commit
03e84abfa5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue