From 63116691a9ff1eaa541a350fcd11a474dac4a095 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 10 Apr 2008 11:59:18 +0000 Subject: (svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more. --- src/widgets/dropdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-54-g00ecf