(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
This commit is contained in:
@@ -675,7 +675,7 @@ static const NWidgetPart _nested_company_stations_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _company_stations_desc(
|
||||
WDP_AUTO, WDP_AUTO, 358, 162, 358, 162,
|
||||
WDP_AUTO, WDP_AUTO, 358, 162,
|
||||
WC_STATION_LIST, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_nested_company_stations_widgets, lengthof(_nested_company_stations_widgets)
|
||||
@@ -1122,7 +1122,7 @@ struct StationViewWindow : public Window {
|
||||
|
||||
|
||||
static const WindowDesc _station_view_desc(
|
||||
WDP_AUTO, WDP_AUTO, 249, 110, 249, 110,
|
||||
WDP_AUTO, WDP_AUTO, 249, 110,
|
||||
WC_STATION_VIEW, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_nested_station_view_widgets, lengthof(_nested_station_view_widgets)
|
||||
@@ -1370,7 +1370,7 @@ struct SelectStationWindow : Window {
|
||||
};
|
||||
|
||||
static const WindowDesc _select_station_desc(
|
||||
WDP_AUTO, WDP_AUTO, 200, 80, 200, 180,
|
||||
WDP_AUTO, WDP_AUTO, 200, 180,
|
||||
WC_SELECT_STATION, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE | WDF_CONSTRUCTION,
|
||||
_nested_select_station_widgets, lengthof(_nested_select_station_widgets)
|
||||
|
Reference in New Issue
Block a user