                     lastColumn = visibleColumns[i];
                     ratio = lastColumn.width / totalWidth;
                     //totalWidth -= visibleColumns[i].width;
-                    newSize = displayWidth * ratio;
+                    newSize = Math.floor(displayWidth * ratio);
                     lastColumn.setWidth(newSize);
                     lastColumn.explicitWidth = NaN;
                     // trace("column " + i + " set to " + visibleColumns[i].width);

//--------------------------------------

[Exclude(name="columnCount", kind="property")]
[Exclude(name="iconField", kind="property")]
[Exclude(name="iconFunction", kind="property")]
[Exclude(name="labelField", kind="property")]

                    lastColumn = visibleLockedColumns[i];
                    ratio = lastColumn.width / totalWidth;
                    //totalWidth -= visibleLockedColumns[i].width;
                    newSize = Math.floor(displayWidth * ratio);
                    lastColumn.setWidth(newSize);
                    lastColumn.explicitWidth = NaN;
                    // trace("column " + i + " set to " + visibleLockedColumns[i].width);
