summaryrefslogtreecommitdiff
path: root/src/station_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/station_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/station_gui.cpp')
-rw-r--r--src/station_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp
index 3c3d96f17..00f24ed36 100644
--- a/src/station_gui.cpp
+++ b/src/station_gui.cpp
@@ -569,7 +569,7 @@ static const Widget _player_stations_widgets[] = {
};
static const WindowDesc _player_stations_desc = {
- WDP_AUTO, WDP_AUTO, 358, 162,
+ WDP_AUTO, WDP_AUTO, 358, 162, 358, 162,
WC_STATION_LIST, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_player_stations_widgets,
@@ -895,7 +895,7 @@ static void StationViewWndProc(Window *w, WindowEvent *e)
static const WindowDesc _station_view_desc = {
- WDP_AUTO, WDP_AUTO, 249, 110,
+ WDP_AUTO, WDP_AUTO, 249, 110, 249, 110,
WC_STATION_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
_station_view_widgets,