diff options
author | frosch <frosch@openttd.org> | 2015-02-01 22:04:50 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2015-02-01 22:04:50 +0000 |
commit | 1c181fd46001be78fac987677df9b1b1f2cc4aaf (patch) | |
tree | 29bcf07e16a6440339b0085b5c7bea809fd2ca61 /src | |
parent | a8080b62563dcb9f3e3bf5180ebf2de6cf6b68ae (diff) | |
download | openttd-1c181fd46001be78fac987677df9b1b1f2cc4aaf.tar.xz |
(svn r27135) -Fix: Misalignment in generate world window in case of small fonts.
Diffstat (limited to 'src')
-rw-r--r-- | src/genworld_gui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp index 603fef90d..27aac9dc6 100644 --- a/src/genworld_gui.cpp +++ b/src/genworld_gui.cpp @@ -139,8 +139,7 @@ static const NWidgetPart _nested_generate_landscape_widgets[] = { NWidget(WWT_DROPDOWN, COLOUR_ORANGE, WID_GL_RIVER_PULLDOWN), SetDataTip(STR_JUST_STRING, STR_NULL), SetFill(1, 0), EndContainer(), EndContainer(), - NWidget(NWID_SPACER), SetFill(1, 1), - NWidget(WWT_PUSHTXTBTN, COLOUR_GREEN, WID_GL_GENERATE_BUTTON), SetMinimalSize(84, 30), SetDataTip(STR_MAPGEN_GENERATE, STR_NULL), SetFill(1, 0), + NWidget(WWT_PUSHTXTBTN, COLOUR_GREEN, WID_GL_GENERATE_BUTTON), SetMinimalSize(84, 0), SetDataTip(STR_MAPGEN_GENERATE, STR_NULL), SetFill(1, 1), EndContainer(), EndContainer(), NWidget(NWID_SPACER), SetMinimalSize(0, 4), @@ -250,8 +249,7 @@ static const NWidgetPart _nested_heightmap_load_widgets[] = { EndContainer(), EndContainer(), EndContainer(), - NWidget(NWID_SPACER), SetFill(1, 1), - NWidget(WWT_PUSHTXTBTN, COLOUR_GREEN, WID_GL_GENERATE_BUTTON), SetMinimalSize(84, 30), SetDataTip(STR_MAPGEN_GENERATE, STR_NULL), SetFill(1, 0), + NWidget(WWT_PUSHTXTBTN, COLOUR_GREEN, WID_GL_GENERATE_BUTTON), SetMinimalSize(84, 0), SetDataTip(STR_MAPGEN_GENERATE, STR_NULL), SetFill(1, 1), EndContainer(), EndContainer(), EndContainer(), |