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 | 63116691a9ff1eaa541a350fcd11a474dac4a095 (patch) | |
tree | 22d8673a5ad50d7dfc22fdfba4faecd9454c091b | |
parent | 6379c30d267215da7c1371f4d5688cd92831496f (diff) | |
download | openttd-63116691a9ff1eaa541a350fcd11a474dac4a095.tar.xz |
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
-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); |