kill stupid tab bug
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / editors / TurnRestrictionRenderer.mxml
1 <?xml version="1.0" encoding="utf-8"?>
2 <mx:Canvas
3         xmlns:mx="http://www.adobe.com/2006/mxml" 
4         xmlns:edit="net.systemeD.potlatch2.mapfeatures.editors.*"
5         width="40" height="40" maxWidth="40" maxHeight="40" minWidth="40" minHeight="40"
6         mouseEnabled="false" mouseChildren="false">
7
8         <mx:Image x="0" y="0" id="sign" left="4" top="4" source="{dataProxied.data ? 'features/restriction__'+dataProxied.data+'.png' : ''}" toolTip="{dataProxied.label}" />
9
10   <mx:Script><![CDATA[
11
12         import mx.utils.ObjectProxy;
13
14         [Bindable(event="dataChange")] public function get dataProxied():ObjectProxy {
15                 return new ObjectProxy(data);
16         }
17
18   ]]></mx:Script>
19         
20 </mx:Canvas>
21