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

pull/155/head
peter1138 17 years ago
parent 2964ba2d34
commit 3badd38914

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