Select to view content in your preferred language

replace logo, title & subtitle in banner with image

2736
2
03-21-2011 05:26 AM
AshleyOwens
Emerging Contributor
I would like to replace the logo, title and subtitle in the application banner with an image. How is that done?
Tags (2)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus
Ashley,

If you have Flex Viewer specific questions you need to post them on the Flex Viewer forum in the future.

http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex

To answer your question though you need to look in the HeaderControllerWidget.mxml

        <mx:HBox id="headerContent"
                 width="100%" height="{headerGroup.height - 45}"
                 backgroundAlpha="{getStyle('contentBackgroundAlpha')}"
                 backgroundColor="{getStyle('contentBackgroundColor')}"
                 horizontalGap="2"
                 paddingLeft="2"
                 verticalAlign="middle"
                 verticalScrollPolicy="off">
            <mx:Image id="logoIcon"
                      horizontalAlign="left"
                      maxHeight="{headerContent.height}"
                      maxWidth="80"
                      verticalAlign="middle"/>
            <!--<s:VGroup id="titleGroup"
                      height="{headerContent.height}"
                      gap="0">
                <s:Label id="bannerTitle" styleName="BannerTitle"/>
                <s:Label id="bannerSubtitle" styleName="BannerSubtitle"/>
            </s:VGroup>-->
0 Kudos
AshleyOwens
Emerging Contributor
Thank you for the location of that code. It was very helpful!
0 Kudos