(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.

This commit is contained in:
peter1138 2008-04-10 11:59:18 +00:00
parent 6379c30d26
commit 63116691a9

View File

@ -258,7 +258,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u
_dropdown_menu_widgets); _dropdown_menu_widgets);
dw->widget[0].color = wi->color; 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->widget[0].bottom = height - 1;
dw->SetWidgetHiddenState(1, !scroll); dw->SetWidgetHiddenState(1, !scroll);