summaryrefslogtreecommitdiff
path: root/src/station_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
commit5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch)
tree555dcdb99e5bae8aea6350713c53469486f925c7 /src/station_gui.cpp
parent063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff)
downloadopenttd-5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2.tar.xz
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
Diffstat (limited to 'src/station_gui.cpp')
-rw-r--r--src/station_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 2e43f4727..30ebee024 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -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)