From ab98af8dd2586df53e7992031d440b4d07f2bced Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sat, 8 Apr 2023 17:13:42 +0100 Subject: [PATCH] Fix width of "extra" drop down box in timetable window --- src/timetable_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index 93b8b5a61e..76e792e615 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -1059,7 +1059,7 @@ struct TimetableWindow : GeneralVehicleWindow { list.emplace_back(new DropDownListStringItem(STR_TIMETABLE_LEAVE_EARLY, OLT_LEAVE_EARLY, leave_type_disabled)); list.emplace_back(new DropDownListStringItem(STR_TIMETABLE_LEAVE_EARLY_FULL_ANY, OLT_LEAVE_EARLY_FULL_ANY, leave_type_disabled || !order->IsType(OT_GOTO_STATION))); list.emplace_back(new DropDownListStringItem(STR_TIMETABLE_LEAVE_EARLY_FULL_ALL, OLT_LEAVE_EARLY_FULL_ALL, leave_type_disabled || !order->IsType(OT_GOTO_STATION))); - ShowDropDownList(this, std::move(list), order != nullptr ? order->GetLeaveType() : -1, WID_VT_EXTRA); + ShowDropDownList(this, std::move(list), order != nullptr ? order->GetLeaveType() : -1, WID_VT_EXTRA, 0, true); break; }