Change: Make all dropdown lists extend width if necessary.
This removes the auto_width parameter from ShowDropDown(At).
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user