summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
committerrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
commit13ab17bca8f57c7bf3b832963e2cc45576811fbb (patch)
treef4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/dock_gui.cpp
parentff85f640db4871a197a92e283147a55c6b2e6132 (diff)
downloadopenttd-13ab17bca8f57c7bf3b832963e2cc45576811fbb.tar.xz
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index ffb8a7975..135f1f166 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -217,7 +217,7 @@ static const Widget _build_docks_toolb_widgets[] = {
};
static const WindowDesc _build_docks_toolbar_desc = {
- WDP_ALIGN_TBR, 22, 136, 36,
+ WDP_ALIGN_TBR, 22, 136, 36, 136, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_build_docks_toolb_widgets,
@@ -293,7 +293,7 @@ static const Widget _build_dock_station_widgets[] = {
};
static const WindowDesc _build_dock_station_desc = {
- WDP_AUTO, WDP_AUTO, 148, 75,
+ WDP_AUTO, WDP_AUTO, 148, 75, 148, 75,
WC_BUILD_STATION, WC_BUILD_TOOLBAR,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_dock_station_widgets,
@@ -362,7 +362,7 @@ static const Widget _build_docks_depot_widgets[] = {
};
static const WindowDesc _build_docks_depot_desc = {
- WDP_AUTO, WDP_AUTO, 204, 86,
+ WDP_AUTO, WDP_AUTO, 204, 86, 204, 86,
WC_BUILD_DEPOT, WC_BUILD_TOOLBAR,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_docks_depot_widgets,