Explorar o código

project manager, fixed siing of sort button

(cherry picked from commit c33eff4bf930bb5dddced297039c7ff74febbad0)
toger5 %!s(int64=8) %!d(string=hai) anos
pai
achega
314fa89978
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/project_manager.cpp

+ 1 - 1
editor/project_manager.cpp

@@ -1452,7 +1452,7 @@ ProjectListFilter::ProjectListFilter() {
 	_current_filter = FILTER_NAME;
 
 	filter_option = memnew(OptionButton);
-	filter_option->set_custom_minimum_size(Size2(80, 10));
+	filter_option->set_custom_minimum_size(Size2(80 * EDSCALE, 10 * EDSCALE));
 	filter_option->set_clip_text(true);
 	filter_option->connect("item_selected", this, "_filter_option_selected");
 	add_child(filter_option);