                 diff = Math.max(diff, h * (100 - percentHeight));
             if (diff > 0)
             {
-                y = diff * mx_internal::layoutObject.getVerticalAlignValue();
+                y = diff * layoutObject.getVerticalAlignValue();
                 h -= diff;
             }
             

            var diff:Number = w - child.maxWidth;
            if (diff > 0)
            {
                x += diff * mx_internal::layoutObject.getHorizontalAlignValue();
                w -= diff;
            }
            diff = h - child.maxHeight;

            preferredWidth += child.preferred;
        }

        var wPadding:Number = layoutObject.widthPadding(numChildren);
        var hPadding:Number = layoutObject.heightPadding(0);
        var rowInfo:GridRowInfo = rowHeights[rowIndex];

        measuredMinWidth = minWidth + wPadding;
