summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-11-15 18:44:33 +0000
committerpeter1138 <peter1138@openttd.org>2009-11-15 18:44:33 +0000
commit4c6f55fc715886be835c184b599a64e4c041c6d9 (patch)
tree1a2cb260b884a6f471dcc82556c8c1c6ba720f86 /src
parent3c913ac253211cdadeae4b240ed5913be39921dd (diff)
downloadopenttd-4c6f55fc715886be835c184b599a64e4c041c6d9.tar.xz
(svn r18104) -Codechange: Let the query popup window's text entry field expand if necessary (e.g. with long window title).
Diffstat (limited to 'src')
-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 74b5c2b2a..28ae594fe 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -1429,7 +1429,7 @@ static const NWidgetPart _nested_query_string_widgets[] = {
NWidget(WWT_CAPTION, COLOUR_GREY, QUERY_STR_WIDGET_CAPTION), SetDataTip(STR_WHITE_STRING, STR_NULL),
EndContainer(),
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),
+ NWidget(WWT_EDITBOX, COLOUR_GREY, QUERY_STR_WIDGET_TEXT), SetMinimalSize(256, 12), SetFill(true, true), SetPadding(2, 2, 2, 2),
EndContainer(),
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),