Changeset - r21779:ce8775eaf304
[Not reviewed]
master
0 1 0
peter1138 - 10 years ago 2014-09-26 16:15:50
peter1138@openttd.org
(svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead of unaligned.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -1168,8 +1168,8 @@ static const NWidgetPart _nested_query_w
 
	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(),
 
};
0 comments (0 inline, 0 general)