diff options
author | peter1138 <peter1138@openttd.org> | 2014-09-26 16:15:50 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2014-09-26 16:15:50 +0000 |
commit | ffe820c7927346a888a677927ba8c60f3433d2a5 (patch) | |
tree | f1910ced4f08d21cad54f69007ef694a4f466c0d | |
parent | 59076ee32b3fd419320e3dd5f7345b6249aad652 (diff) | |
download | openttd-ffe820c7927346a888a677927ba8c60f3433d2a5.tar.xz |
(svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead of unaligned.
-rw-r--r-- | src/misc_gui.cpp | 4 |
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(), }; |