summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
commit1f0da3710f955c7fd4a747ac814d449847e73884 (patch)
tree9f2f599538f3adfc61e80e472ed9f04332aeac65 /src/dock_gui.cpp
parent9bb4ad4ba827127b9cf92f198efd6442f053a3aa (diff)
downloadopenttd-1f0da3710f955c7fd4a747ac814d449847e73884.tar.xz
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index bf132d8e3..1d15f2142 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -279,7 +279,7 @@ static const NWidgetPart _nested_build_docks_toolbar_widgets[] = {
};
static const WindowDesc _build_docks_toolbar_desc(
- WDP_ALIGN_TOOLBAR, 160, 36,
+ WDP_ALIGN_TOOLBAR, 0, 0,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_CONSTRUCTION,
_nested_build_docks_toolbar_widgets, lengthof(_nested_build_docks_toolbar_widgets)
@@ -315,7 +315,7 @@ static const NWidgetPart _nested_build_docks_scen_toolbar_widgets[] = {
/** Window definition for the build docks in scenario editor window. */
static const WindowDesc _build_docks_scen_toolbar_desc(
- WDP_AUTO, 115, 36,
+ WDP_AUTO, 0, 0,
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
WDF_CONSTRUCTION,
_nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets)
@@ -410,7 +410,7 @@ static const NWidgetPart _nested_build_dock_station_widgets[] = {
};
static const WindowDesc _build_dock_station_desc(
- WDP_AUTO, 148, 75,
+ WDP_AUTO, 0, 0,
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
WDF_CONSTRUCTION,
_nested_build_dock_station_widgets, lengthof(_nested_build_dock_station_widgets)
@@ -494,7 +494,7 @@ static const NWidgetPart _nested_build_docks_depot_widgets[] = {
};
static const WindowDesc _build_docks_depot_desc(
- WDP_AUTO, 204, 86,
+ WDP_AUTO, 0, 0,
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
WDF_CONSTRUCTION,
_nested_build_docks_depot_widgets, lengthof(_nested_build_docks_depot_widgets)