more
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / editors / TurnRestrictionEditor.mxml
index 27c7f2f..e97fa1b 100644 (file)
@@ -2,6 +2,7 @@
 <edit:RelationMemberEditor
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/mx"
+    xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:edit="net.systemeD.potlatch2.mapfeatures.editors.*"
        xmlns:flexlib="flexlib.controls.*"
        verticalGap="0"
@@ -9,9 +10,10 @@
        toolTip="{fieldDescription}"
        initialize="addTurnRestrictions()">
 
-  <mx:Label text="{fieldName}:"/>
-  <mx:VBox verticalGap="0" width="100%" id="turnRestrictionIcons"/>
-  <mx:LinkButton label="Add new turn restriction" click="addNewTurnRestriction()" />
+  <s:FormItem label="{fieldName}">
+    <mx:VBox verticalGap="0" width="100%" id="turnRestrictionIcons"/>
+    <mx:LinkButton label="Add new turn restriction" click="addNewTurnRestriction()" />
+  </s:FormItem>
 
   <fx:Script><![CDATA[
        import net.systemeD.halcyon.connection.*;