case WID_AIC_CHANGE: {
uint change_width = 0;
static const StringID param[] = {STR_AI_CONFIG_GAMESCRIPT, STR_AI_CONFIG_NONE, STR_AI_CONFIG_AI};
for (int i = 0; i < lengthof(param); i++) {
SetDParam(0, param[i]);
change_width = max(change_width, GetStringBoundingBox(STR_AI_CONFIG_CHANGE).width);
}
size->width = change_width + WD_MATRIX_LEFT + WD_MATRIX_RIGHT;
break;
}