             actionGroup.setLayoutBoundsSize(unscaledWidth - right, unscaledHeight);
         }
         
-		var titleGroupWidth:Number = right - left;
-		if (titleGroupWidth < 0)
-			titleGroupWidth = 0;
-		
+        var titleGroupWidth:Number = right - left;
+        if (titleGroupWidth < 0)
+        	titleGroupWidth = 0;
+        
         titleGroup.setLayoutBoundsPosition(left, 0);
         titleGroup.setLayoutBoundsSize(titleGroupWidth, unscaledHeight);
         

        hLayout.horizontalAlign = HorizontalAlign.LEFT;
        hLayout.verticalAlign = VerticalAlign.MIDDLE;
        hLayout.gap = 0;
		hLayout.paddingLeft = hLayout.paddingTop = hLayout.paddingRight = hLayout.paddingBottom = 10;
        navigationGroup.layout = hLayout;
        addChild(navigationGroup);
        
        titleGroup = new Group();
        hLayout = new HorizontalLayout();
        hLayout.horizontalAlign = HorizontalAlign.LEFT;
		hLayout.verticalAlign = VerticalAlign.MIDDLE;
        hLayout.gap = 0;
		hLayout.paddingLeft = hLayout.paddingTop = hLayout.paddingRight = hLayout.paddingBottom = 10;
        titleGroup.layout = hLayout;
        titleGroup.clipAndEnableScrolling = true;
        addChild(titleGroup);

        var right:Number = unscaledWidth;
        
        // Position groups
        // FIXME (chiedozi): Prevent measurements from being negative.  Figure out
        // minimums for each group.
        // FIXME (jasonsj): Why are we checking includeInLayout
        if (navigationGroup.numElements > 0 && navigationGroup.includeInLayout)
        {
            left += navigationGroup.measuredWidth;
