<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"
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.*;