summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2014-09-26 16:15:50 +0000
committerpeter1138 <peter1138@openttd.org>2014-09-26 16:15:50 +0000
commitffe820c7927346a888a677927ba8c60f3433d2a5 (patch)
treef1910ced4f08d21cad54f69007ef694a4f466c0d /src
parent59076ee32b3fd419320e3dd5f7345b6249aad652 (diff)
downloadopenttd-ffe820c7927346a888a677927ba8c60f3433d2a5.tar.xz
(svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead of unaligned.
Diffstat (limited to 'src')
-rw-r--r--src/misc_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 1f0a0107e..2c85fae76 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1168,8 +1168,8 @@ static const NWidgetPart _nested_query_widgets[] = {
NWidget(WWT_PANEL, COLOUR_RED), SetPIP(8, 15, 8),
NWidget(WWT_TEXT, COLOUR_RED, WID_Q_TEXT), SetMinimalSize(200, 12),
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE), SetPIP(20, 29, 20),
- NWidget(WWT_PUSHTXTBTN, COLOUR_YELLOW, WID_Q_NO), SetMinimalSize(71, 12), SetDataTip(STR_QUIT_NO, STR_NULL),
- NWidget(WWT_PUSHTXTBTN, COLOUR_YELLOW, WID_Q_YES), SetMinimalSize(71, 12), SetDataTip(STR_QUIT_YES, STR_NULL),
+ NWidget(WWT_PUSHTXTBTN, COLOUR_YELLOW, WID_Q_NO), SetMinimalSize(71, 12), SetFill(1, 1), SetDataTip(STR_QUIT_NO, STR_NULL),
+ NWidget(WWT_PUSHTXTBTN, COLOUR_YELLOW, WID_Q_YES), SetMinimalSize(71, 12), SetFill(1, 1), SetDataTip(STR_QUIT_YES, STR_NULL),
EndContainer(),
EndContainer(),
};