Change: Make all dropdown lists extend width if necessary.
This removes the auto_width parameter from ShowDropDown(At).
This commit is contained in:
@@ -477,7 +477,7 @@ struct ScriptSettingsWindow : public Window {
|
||||
list.emplace_back(new DropDownListCharStringItem(config_item.labels->Find(i)->second, i, false));
|
||||
}
|
||||
|
||||
ShowDropDownListAt(this, std::move(list), old_val, -1, wi_rect, COLOUR_ORANGE, true);
|
||||
ShowDropDownListAt(this, std::move(list), old_val, -1, wi_rect, COLOUR_ORANGE);
|
||||
}
|
||||
}
|
||||
} else if (IsInsideMM(x, 0, SETTING_BUTTON_WIDTH)) {
|
||||
|
Reference in New Issue
Block a user