         // We invalidate size because locking in height
         // may change the measured width in flow-based components.
         invalidateSize();
-
-        var p:IInvalidating = parent as IInvalidating;
-        if (p && includeInLayout)
-        {
-            p.invalidateSize();
-            p.invalidateDisplayList();
-        }
+        invalidateParentSizeAndDisplayList();            
 
         dispatchEvent(new Event("explicitHeightChanged"));
     }


            if (sizeChanging && includeInLayout)
            {
                invalidateDisplayList();

                var p:IInvalidating = parent as IInvalidating;
                if (p)
                {
                    p.invalidateSize();
                    p.invalidateDisplayList();
                }
            }
        }
    }

        // Se invalidate size because locking in width
        // may change the measured height in flow-based components.
        invalidateSize();
        invalidateParentSizeAndDisplayList();            

        dispatchEvent(new Event("explicitMaxWidthChanged"));
    }
