aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSofie De Cooman2012-07-31 03:23:54 (EDT)
committerTom Schindl2012-07-31 03:23:54 (EDT)
commitae683a35d22f78762a1e55b2d48acf134a06cda0 (patch)
tree80fcedc99130041d600f1159a317be91759d3663
parent5bd4012f59ffd718c12324153a9e5b87855fe6c7 (diff)
downloadorg.eclipse.nebula-ae683a35d22f78762a1e55b2d48acf134a06cda0.zip
org.eclipse.nebula-ae683a35d22f78762a1e55b2d48acf134a06cda0.tar.gz
org.eclipse.nebula-ae683a35d22f78762a1e55b2d48acf134a06cda0.tar.bz2
Bug 386283 - Cell with row span > 0 in a column with index > 0 not well
painted when scrolling down
-rw-r--r--widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java b/widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java
index 8dfe31b..c24c25e 100644
--- a/widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java
+++ b/widgets/grid/org.eclipse.nebula.widgets.grid/src/org/eclipse/nebula/widgets/grid/Grid.java
@@ -5258,6 +5258,7 @@ public class Grid extends Canvas
int rowSpan = itemForRow.getRowSpan(colIndex);
maxRowSpanForItem = rowSpan > maxRowSpanForItem ? rowSpan : maxRowSpanForItem;
+ colIndex++;
}
if(rowIndex + maxRowSpanForItem >= firstVisibleIndex) {