(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 10120 185a6a9d5d10
parent 10119 9b29b2296969
child 10121 b82006b98b4a
(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);