summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 15:01:49 +0000
commit1f0da3710f955c7fd4a747ac814d449847e73884 (patch)
tree9f2f599538f3adfc61e80e472ed9f04332aeac65 /src/genworld_gui.cpp
parent9bb4ad4ba827127b9cf92f198efd6442f053a3aa (diff)
downloadopenttd-1f0da3710f955c7fd4a747ac814d449847e73884.tar.xz
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index cbb8764d8..63318d92b 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -744,14 +744,14 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
};
static const WindowDesc _generate_landscape_desc(
- WDP_CENTER, 338, 313,
+ WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets)
);
static const WindowDesc _heightmap_load_desc(
- WDP_CENTER, 338, 236,
+ WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets)
@@ -1057,7 +1057,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = {
};
static const WindowDesc _create_scenario_desc(
- WDP_CENTER, 338, 170,
+ WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets)
@@ -1090,7 +1090,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = {
static const WindowDesc _generate_progress_desc(
- WDP_CENTER, 181, 97,
+ WDP_CENTER, 0, 0,
WC_GENERATE_PROGRESS_WINDOW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets)