diff options
author | peter1138 <peter1138@openttd.org> | 2008-04-10 11:59:18 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-04-10 11:59:18 +0000 |
commit | 3badd389149c4b2fda55d115453067831f9b75a8 (patch) | |
tree | 22d8673a5ad50d7dfc22fdfba4faecd9454c091b /src/widgets | |
parent | 2964ba2d3498abf707f4ff6a135c6e6178d8b92f (diff) | |
download | openttd-3badd389149c4b2fda55d115453067831f9b75a8.tar.xz |
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/dropdown.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 70eb81b64..61179365b 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -258,7 +258,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u _dropdown_menu_widgets); dw->widget[0].color = wi->color; - dw->widget[0].right = width + 1; + dw->widget[0].right = width - 1; dw->widget[0].bottom = height - 1; dw->SetWidgetHiddenState(1, !scroll); |