From 1f0da3710f955c7fd4a747ac814d449847e73884 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 15:01:49 +0000 Subject: (svn r18324) -Codechange: there's no need for a default size when the window isn't resizable --- src/rail_gui.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/rail_gui.cpp') diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 95b193039..9f20b6350 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -856,7 +856,7 @@ static const NWidgetPart _nested_build_rail_widgets[] = { }; static const WindowDesc _build_rail_desc( - WDP_ALIGN_TOOLBAR, 350, 36, + WDP_ALIGN_TOOLBAR, 0, 0, WC_BUILD_TOOLBAR, WC_NONE, WDF_CONSTRUCTION, _nested_build_rail_widgets, lengthof(_nested_build_rail_widgets) @@ -1461,7 +1461,7 @@ static const NWidgetPart _nested_newstation_builder_widgets[] = { /** High level window description of the default station-build window */ static const WindowDesc _station_builder_desc( - WDP_AUTO, 148, 200, + WDP_AUTO, 0, 0, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_station_builder_widgets, lengthof(_nested_station_builder_widgets) @@ -1469,7 +1469,7 @@ static const WindowDesc _station_builder_desc( /** High level window description of the newGRF station-build window */ static const WindowDesc _newstation_builder_desc( - WDP_AUTO, 148, 290, + WDP_AUTO, 0, 0, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_newstation_builder_widgets, lengthof(_nested_newstation_builder_widgets) @@ -1674,7 +1674,7 @@ static const NWidgetPart _nested_signal_builder_widgets[] = { /** Signal selection window description */ static const WindowDesc _signal_builder_desc( - WDP_AUTO, 154, 68, + WDP_AUTO, 0, 0, WC_BUILD_SIGNAL, WC_BUILD_TOOLBAR, WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_signal_builder_widgets, lengthof(_nested_signal_builder_widgets) @@ -1764,7 +1764,7 @@ static const NWidgetPart _nested_build_depot_widgets[] = { }; static const WindowDesc _build_depot_desc( - WDP_AUTO, 140, 122, + WDP_AUTO, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_depot_widgets, lengthof(_nested_build_depot_widgets) @@ -1864,7 +1864,7 @@ static const NWidgetPart _nested_build_waypoint_widgets[] = { }; static const WindowDesc _build_waypoint_desc( - WDP_AUTO, 344, 92, + WDP_AUTO, 0, 0, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_CONSTRUCTION, _nested_build_waypoint_widgets, lengthof(_nested_build_waypoint_widgets) -- cgit v1.2.3-54-g00ecf