mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 01:19:11 +00:00
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
This commit is contained in:
@@ -124,7 +124,7 @@ struct EnginePreviewWindow : Window {
|
||||
};
|
||||
|
||||
static const WindowDesc _engine_preview_desc(
|
||||
WDP_CENTER, WDP_CENTER, 300, 192, 300, 192,
|
||||
WDP_CENTER, WDP_CENTER, 300, 192,
|
||||
WC_ENGINE_PREVIEW, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION,
|
||||
_nested_engine_preview_widgets, lengthof(_nested_engine_preview_widgets)
|
||||
|
Reference in New Issue
Block a user