javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp
branchRCL_3
changeset 17 0fd27995241b
parent 14 04becd199f91
child 19 71c436fe3ce0
--- a/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp	Fri Apr 30 10:40:48 2010 +0300
+++ b/javauis/eswt_akn/org.eclipse.ercp.swt.s60/native/src/swtlistbase.cpp	Tue May 11 16:07:20 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);
 }
 
 // ---------------------------------------------------------------------------