Use spark:RichText in favour of mx:Text - nicer looking text.
authorAndy Allan <andy@gravitystorm.co.uk>
Wed, 22 Feb 2012 11:25:36 +0000 (11:25 +0000)
committerAndy Allan <andy@gravitystorm.co.uk>
Wed, 22 Feb 2012 11:25:36 +0000 (11:25 +0000)
net/systemeD/potlatch2/panels/BackgroundPanel.mxml

index 9f68da6..bdbae0e 100644 (file)
@@ -9,7 +9,7 @@
     xmlns:mx="library://ns.adobe.com/flex/mx"
     xmlns:s="library://ns.adobe.com/flex/spark"
     height="100%">
-  <mx:Text id="backgroundPanelText" text="You have selected a Background Feature." width="100%" styleName="helpInfo" />
+  <s:RichText id="backgroundPanelText" text="You have selected a Background Feature." />
   <s:RichText text="{connectionName}" />
   <mx:DataGrid editable="false" id="backgroundPanelDG" width="100%" height="50%">
     <mx:columns>
   <mx:ViewStack id="statusStack" resizeToContent="true" width="100%">
     <mx:VBox id="empty" />
     <mx:VBox id="not_complete">
-      <mx:Text text="All the data copied to the main layer? Click 'complete'!" />
+      <s:RichText text="All the data copied to the main layer? Click 'complete'!" />
       <mx:Button label="Complete" click="markComplete()"/>
     </mx:VBox>
     <mx:VBox id="complete">
-      <mx:Text text="This feature has been marked as complete. If this is wrong, press the button below." />
+      <s:RichText text="This feature has been marked as complete. If this is wrong, press the button below." />
       <mx:Button label="Not complete" click="markNotComplete()"/>
     </mx:VBox>
   </mx:ViewStack>