From c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 27 Jul 2007 12:49:04 +0000 Subject: (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. --- src/train_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/train_gui.cpp') diff --git a/src/train_gui.cpp b/src/train_gui.cpp index efdbcb186..1c1c731e0 100644 --- a/src/train_gui.cpp +++ b/src/train_gui.cpp @@ -309,7 +309,7 @@ static void TrainViewWndProc(Window *w, WindowEvent *e) } static const WindowDesc _train_view_desc = { - WDP_AUTO, WDP_AUTO, 250, 134, + WDP_AUTO, WDP_AUTO, 250, 134, 250, 134, WC_VEHICLE_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, _train_view_widgets, @@ -592,7 +592,7 @@ static const Widget _train_details_widgets[] = { static const WindowDesc _train_details_desc = { - WDP_AUTO, WDP_AUTO, 370, 164, + WDP_AUTO, WDP_AUTO, 370, 164, 370, 164, WC_VEHICLE_DETAILS,WC_VEHICLE_VIEW, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE, _train_details_widgets, -- cgit v1.2.3-54-g00ecf