(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
authorpeter1138
Thu, 10 Apr 2008 11:59:18 +0000
changeset 8884 cebc13b06266
parent 8883 baee554a9449
child 8885 647cda0e9312
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
src/widgets/dropdown.cpp
--- a/src/widgets/dropdown.cpp	Thu Apr 10 10:18:03 2008 +0000
+++ b/src/widgets/dropdown.cpp	Thu Apr 10 11:59:18 2008 +0000
@@ -258,7 +258,7 @@
 		_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);