             super.currentState = value;
             
             // Force a layout pass on the components
+            invalidateSize();
             invalidateDisplayList();
         }
     }
     
-    /**
+    override protected function measure():void
+    {
+        super.measure();
+        
+        measuredWidth = Math.max(actionBar.getPreferredBoundsWidth(), 
+                                 contentGroup.getPreferredBoundsWidth());
+        
+        if (currentState == "portraitAndOverlay" || currentState == "landscapeAndOverlay")
+        {
+            measuredHeight = Math.max(actionBar.getPreferredBoundsHeight(), 
+                                  contentGroup.getPreferredBoundsHeight());
+        }
+        else
+        {
+            measuredHeight = actionBar.getPreferredBoundsHeight() + 
+                                                 contentGroup.getPreferredBoundsHeight();
+        }
+    }
+    
+    /**
+     *  @private
      * 
      *  @langversion 3.0
      *  @playerversion Flash 10.1

import spark.components.ButtonBar;
import spark.components.Group;
import spark.components.ViewNavigator;
import spark.effects.IViewTransition;
import spark.effects.Move;
import spark.effects.SlideViewTransition;

public class ViewNavigatorSkin extends SliderSkin
{
    //--------------------------------------------------------------------------
    //
    //  Constructor
    //
    //--------------------------------------------------------------------------
    public function ViewNavigatorSkin()
    {
        super();

////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2010 Adobe Systems Incorporated
//  All Rights Reserved.
//
//  NOTICE: Adobe permits you to use, modify, and distribute this file
//  in accordance with the terms of the license agreement accompanying it.
//
////////////////////////////////////////////////////////////////////////////////

package spark.skins.mobile
{
import mx.effects.IEffect;
