javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp
changeset 23 98ccebc37403
parent 21 2a9601315dfc
child 34 71c436fe3ce0
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp	Mon May 03 12:27:20 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp	Fri May 14 15:47:24 2010 +0300
@@ -1460,6 +1460,11 @@
 
     // Update background color
     listBoxDrawer->SetBackColor(GetBackground());
+
+    // Suppress margins - they are drawn over scrollbars
+    // We need to update margins here one more time, because previous
+    // code re-sets them
+    CSwtListBoxLists::SetMargins(iListType, iList, 0, 0);
 }
 
 // ---------------------------------------------------------------------------