From 5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 17 Nov 2009 19:16:48 +0000 Subject: (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets --- src/order_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/order_gui.cpp') diff --git a/src/order_gui.cpp b/src/order_gui.cpp index 1cb88c346..615677b9f 100644 --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -1339,7 +1339,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = { }; static const WindowDesc _orders_train_desc( - WDP_AUTO, WDP_AUTO, 384, 100, 384, 100, + WDP_AUTO, WDP_AUTO, 384, 100, WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE, _nested_orders_train_widgets, lengthof(_nested_orders_train_widgets) @@ -1403,7 +1403,7 @@ static const NWidgetPart _nested_orders_widgets[] = { }; static const WindowDesc _orders_desc( - WDP_AUTO, WDP_AUTO, 384, 100, 384, 100, + WDP_AUTO, WDP_AUTO, 384, 100, WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE, _nested_orders_widgets, lengthof(_nested_orders_widgets) @@ -1429,7 +1429,7 @@ static const NWidgetPart _nested_other_orders_widgets[] = { }; static const WindowDesc _other_orders_desc( - WDP_AUTO, WDP_AUTO, 384, 86, 384, 86, + WDP_AUTO, WDP_AUTO, 384, 86, WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE | WDF_CONSTRUCTION, _nested_other_orders_widgets, lengthof(_nested_other_orders_widgets) -- cgit v1.2.3-54-g00ecf