                 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;
             }

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

    }
    
    /**
	 *  @private
     *  Computes new values for the grid's measuredWidth,Height and 
	 *  measuredMinWidth,Height properties.  
     * 
     *  If grid.requestedRowCount is GTE 0, then measuredHeight is estimated 
	 *  content height for as many rows.  Otherwise the measuredHeight is the estimated 
	 *  content height for all rows.  The measuredWidth calculation is similar.  The 
	 *  measuredMinWidth,Height properties are also similar however if the corresponding 
	 *  requestedMin property isn't specified, then the measuredMin size is the same 
	 *  as the measured size.
     */
    override public function measure():void
    {
        if (!grid)
            return;
        
        var measuredWidth:Number = gridDimensions.getContentWidth(grid.requestedColumnCount);
        var measuredHeight:Number = gridDimensions.getContentHeight(grid.requestedRowCount);
		var measuredMinWidth:Number = gridDimensions.getContentHeight(grid.requestedMinColumnCount);
		var measuredMinHeight:Number = gridDimensions.getContentHeight(grid.requestedMinRowCount);
		

        // Use Math.ceil() to make sure that if the content partially occupies
        // the last pixel, we'll count it as if the whole pixel is occupied.
        
        grid.measuredWidth = Math.ceil(measuredWidth);    
        grid.measuredHeight = Math.ceil(measuredHeight);
        grid.measuredMinWidth = Math.ceil(measuredMinWidth);    
        grid.measuredMinHeight = Math.ceil(measuredMinHeight);
    }
    
    /**
