(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
This commit is contained in:
@@ -767,14 +767,14 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
|
||||
};
|
||||
|
||||
static const WindowDesc _generate_landscape_desc(
|
||||
WDP_CENTER, WDP_CENTER, 338, 313, 338, 313,
|
||||
WDP_CENTER, WDP_CENTER, 338, 313,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
||||
_nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets)
|
||||
);
|
||||
|
||||
static const WindowDesc _heightmap_load_desc(
|
||||
WDP_CENTER, WDP_CENTER, 338, 236, 338, 236,
|
||||
WDP_CENTER, WDP_CENTER, 338, 236,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
|
||||
_nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets)
|
||||
@@ -1087,7 +1087,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _create_scenario_desc(
|
||||
WDP_CENTER, WDP_CENTER, 338, 170, 338, 170,
|
||||
WDP_CENTER, WDP_CENTER, 338, 170,
|
||||
WC_GENERATE_LANDSCAPE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS,
|
||||
_nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets)
|
||||
@@ -1122,7 +1122,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = {
|
||||
|
||||
|
||||
static const WindowDesc _generate_progress_desc(
|
||||
WDP_CENTER, WDP_CENTER, 181, 97, 181, 97,
|
||||
WDP_CENTER, WDP_CENTER, 181, 97,
|
||||
WC_GENERATE_PROGRESS_WINDOW, WC_NONE,
|
||||
WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
||||
_nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets)
|
||||
|
Reference in New Issue
Block a user