Change: Make all dropdown lists extend width if necessary.

This removes the auto_width parameter from ShowDropDown(At).
This commit is contained in:
Peter Nelson
2023-04-11 20:07:50 +01:00
committed by PeterN
parent 5bc9d00735
commit e5af5907ec
10 changed files with 32 additions and 35 deletions

View File

@@ -1571,7 +1571,7 @@ private:
wi_rect.bottom = pt.y;
w->dd_client_id = client_id;
ShowDropDownListAt(w, std::move(list), -1, WID_CL_MATRIX, wi_rect, COLOUR_GREY, true, true);
ShowDropDownListAt(w, std::move(list), -1, WID_CL_MATRIX, wi_rect, COLOUR_GREY, true);
}
/**
@@ -1593,7 +1593,7 @@ private:
wi_rect.bottom = pt.y;
w->dd_company_id = company_id;
ShowDropDownListAt(w, std::move(list), -1, WID_CL_MATRIX, wi_rect, COLOUR_GREY, true, true);
ShowDropDownListAt(w, std::move(list), -1, WID_CL_MATRIX, wi_rect, COLOUR_GREY, true);
}
/**
* Chat button on a Client is clicked.