summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-11-03 20:25:19 +0000
committeralberth <alberth@openttd.org>2009-11-03 20:25:19 +0000
commite6a164de09e4ee97488eabedd5d946a9f11ed5a9 (patch)
tree3d019f93ba15cec62023a0934c841efa80f345dc
parent076d6e696b28df5d4e1aac788fe9dbccb08aa052 (diff)
downloadopenttd-e6a164de09e4ee97488eabedd5d946a9f11ed5a9.tar.xz
(svn r17967) -Codechange: Specify that the buttons of the query string window should be equal in size.
-rw-r--r--src/misc_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index ac91fe6c1..04da4cce8 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1453,7 +1453,7 @@ static const NWidgetPart _nested_query_string_widgets[] = {
NWidget(WWT_PANEL, COLOUR_GREY, QUERY_STR_WIDGET_BACKGROUND),
NWidget(WWT_EDITBOX, COLOUR_GREY, QUERY_STR_WIDGET_TEXT), SetMinimalSize(256, 12), SetPadding(2, 2, 2, 2),
EndContainer(),
- NWidget(NWID_HORIZONTAL),
+ NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
NWidget(WWT_TEXTBTN, COLOUR_GREY, QUERY_STR_WIDGET_DEFAULT), SetMinimalSize(87, 12), SetFill(true, true), SetDataTip(STR_BUTTON_DEFAULT, STR_NULL),
NWidget(WWT_TEXTBTN, COLOUR_GREY, QUERY_STR_WIDGET_CANCEL), SetMinimalSize(86, 12), SetFill(true, true), SetDataTip(STR_BUTTON_CANCEL, STR_NULL),
NWidget(WWT_TEXTBTN, COLOUR_GREY, QUERY_STR_WIDGET_OK), SetMinimalSize(87, 12), SetFill(true, true), SetDataTip(STR_BUTTON_OK, STR_NULL),