         }
         
         textHeight = lineMetrics.height + UITextField.TEXT_HEIGHT_PADDING;
-        
         descent = lineMetrics.descent;
         
         measuredWidth = textWidth;

            titleDisplay.visible = false;
            titleGroup.visible = false;
        }
        else if (hostComponent.titleContent != null && titleGroup.includeInLayout)
        {
            titleDisplay.visible = false;
            titleGroup.visible = true;
            
            // use titleGroup for titleContent
            titleGroup.setLayoutBoundsSize(titleCompWidth, contentGroupsHeight);
            titleGroup.setLayoutBoundsPosition(titleCompX, 1); // top border
        }
        else
        {

        var actionGroupWidth:Number = 0;
        
        // remove top and bottom borders from content group height
        var contentGroupsHeight:Number = unscaledHeight - (BORDER_HEIGHT * 2);
        
        // FXG uses scale-9, 3 px drop shadow is drawn outside the bounds
        resizePart(border, unscaledWidth, unscaledHeight + SHADOW_HEIGHT);
        
        // position groups, overlap of navigation and action groups is allowed
        // when overlap occurs, titleDisplay/titleGroup is not visible
        if (_navigationVisible)
        {
            navigationGroupWidth = navigationGroup.getPreferredBoundsWidth();
            titleCompX += navigationGroupWidth;
            
            navigationGroup.setLayoutBoundsSize(navigationGroupWidth, contentGroupsHeight);
            navigationGroup.setLayoutBoundsPosition(0, BORDER_HEIGHT);
        }
        
        if (_actionVisible)
        {
            // actionGroup x position can be negative
            actionGroupWidth = actionGroup.getPreferredBoundsWidth();
            actionGroupX = unscaledWidth - actionGroupWidth;
            
            actionGroup.setLayoutBoundsSize(actionGroupWidth, contentGroupsHeight);
            actionGroup.setLayoutBoundsPosition(actionGroupX, BORDER_HEIGHT);
        }
        
        titleCompWidth = unscaledWidth - navigationGroupWidth - actionGroupWidth;
