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

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
peter1138 16 years ago
parent 6379c30d26
commit 63116691a9

@ -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);

Loading…
Cancel
Save