     {
         super();
     }
-    
+
     //--------------------------------------------------------------------------
     //
     //  Property Overrides

                var colWidth:Number = gridDimensions.getColumnWidth(colIndex);
                layoutGridElement(renderer, cellX, cellY, colWidth, rowHeight);
                
                // TBD(hmuller): need a local preferred bounds method once layoutGridElement supports constraints
                gridDimensions.setCellHeight(rowIndex, colIndex, renderer.getPreferredBoundsHeight());
                cellX += colWidth + colGap;
            }

        // Update the content size.  Make sure that if the content spans partially 
        // over a pixel to the right/bottom, the content size includes the whole pixel.
        
        const contentWidth:Number = Math.ceil(gridDimensions.getContentWidth());
        const contentHeight:Number = Math.ceil(gridDimensions.getContentHeight());
        grid.setContentSize(contentWidth, contentHeight);        
    }
    
