project manager, fixed siing of sort button

This commit is contained in:
toger5 2017-06-04 13:54:19 -07:00
parent 8126a0cb12
commit c33eff4bf9

View file

@ -1469,7 +1469,7 @@ ProjectListFilter::ProjectListFilter() {
_current_filter = FILTER_NAME; _current_filter = FILTER_NAME;
filter_option = memnew(OptionButton); 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->set_clip_text(true);
filter_option->connect("item_selected", this, "_filter_option_selected"); filter_option->connect("item_selected", this, "_filter_option_selected");
add_child(filter_option); add_child(filter_option);