Select to view content in your preferred language

How to create a title and logo at top left for flex viewer?

550
2
06-08-2011 06:44 AM
LeiZhou
Deactivated User
I need to create another logo at the top right corner of flex viewer, and also add a new title at the top right.  But the <title> tag always set the text to the top left. Thanks!
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Steve,

   You would have to edit the HeaderControllerWidget.mxml
0 Kudos
LeiZhou
Deactivated User
Steve,

   You would have to edit the HeaderControllerWidget.mxml



I add --right="10" to the <s:VGroup id="titleGroup">, but nothing changes.  This VGroup is inside the <mx:HBox id="headerContent">, I think it should be the right place to make change. To test, I created a new VGroup below the titleGroup VGroup, set it to right="10". But it seems I cannot control it, it still show up on top left.  I was wondering why? Thanks a lot!

<s:VGroup id="titleGroup" right="10"
                      height="{headerContent.height}"
                      gap="0">
                <s:Label id="bannerTitle" styleName="BannerTitle" />
                <s:Label id="bannerSubtitle" styleName="BannerSubtitle"/>
            </s:VGroup>
0 Kudos