 }
 }
 import flash.events.Event;
-import flash.text.TextFormatAlign;
 import flash.text.TextLineMetrics;
 
 import mx.core.UIComponent;

        navigationGroup = new Group();
        var hLayout:HorizontalLayout = new HorizontalLayout();
        hLayout.horizontalAlign = HorizontalAlign.LEFT;
        hLayout.verticalAlign = VerticalAlign.JUSTIFY;
        hLayout.gap = 0;
        hLayout.paddingLeft = hLayout.paddingTop = hLayout.paddingRight = 
            hLayout.paddingBottom = 0;
        navigationGroup.layout = hLayout;
        addChild(navigationGroup);
        
        titleGroup = new Group();
        hLayout = new HorizontalLayout();
        hLayout.horizontalAlign = HorizontalAlign.LEFT;
        hLayout.verticalAlign = VerticalAlign.JUSTIFY;
        hLayout.gap = 0;
        hLayout.paddingLeft = hLayout.paddingTop = hLayout.paddingRight = 
            hLayout.paddingBottom = 0;
        titleGroup.layout = hLayout;
        addChild(titleGroup);
        
        actionGroup = new Group();
        hLayout = new HorizontalLayout();
        hLayout.horizontalAlign = HorizontalAlign.RIGHT;
        hLayout.verticalAlign = VerticalAlign.JUSTIFY;
        hLayout.gap = 0;
        hLayout.paddingLeft = hLayout.paddingTop = hLayout.paddingRight = 
            hLayout.paddingBottom = 0;
        actionGroup.layout = hLayout;
        addChild(actionGroup);
        
        var titleDisplayComp:TitleDisplayComponent = new TitleDisplayComponent();
        titleDisplayComp.percentWidth = 100;
        titleDisplayComp.styleName = this;
        titleDisplay = titleDisplayComp;
        addChild(titleDisplayComp);
        
        initializeStyles();
    }
    
    protected function initializeStyles():void

    {
        super.createChildren();
        
        titleDisplay = MobileTextField(createInFontContext(MobileTextField));
        titleDisplay.styleProvider = this;
        titleDisplay.editable = false;
