Select to view content in your preferred language

<s:controlBarContent> align right issue

1153
1
Jump to solution
08-08-2012 01:58 AM
JohnWall
Regular Contributor
I am attempting to align an image within mz <s:controlBarContent> to the right, but for some reason there is a very large gap between the image and the right side. Could someone please help?

This is my code:
<s:controlBarLayout>   <s:HorizontalLayout variableColumnWidth="true"/>  </s:controlBarLayout>  <s:controlBarContent>   <mx:Text color="#EC6500">    <mx:htmlText>     <![CDATA[     <b><font size="18" font-weight="bold">Institut für Angewandte Geowissenschaften</font></b>     <b><font size="12">Forschungsprojekte: Geo-Ressourcen und Geo-Risiken</font></b>     ]]>    </mx:htmlText>   </mx:Text>   <mx:Spacer width="100%"/>   <s:Image height="100" source="@Embed(source='../images/logo.png')"/>  </s:controlBarContent>
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JohnWall
Regular Contributor
I figured it out, it had to do with the image. I am not 100% sure what the issue was regarding the image, but after opening it up in GIMP and then resizing it, everything worked fine.

View solution in original post

0 Kudos
1 Reply
JohnWall
Regular Contributor
I figured it out, it had to do with the image. I am not 100% sure what the issue was regarding the image, but after opening it up in GIMP and then resizing it, everything worked fine.
0 Kudos