4,328
社区成员
发帖
与我相关
我的任务
分享
<mx:HBox width="100%" id="limitedHbox" >
<mx:TileList paddingLeft="0" rollOverColor="white" selectionColor="white" verticalAlign="middle" columnWidth="260" horizontalCenter="0" width="100%" doubleClickEnabled="true" id="limitedTileList" direction="horizontal" borderStyle="none" columnCount="3">
<mx:itemRenderer>
<mx:Component>
<mx:VBox width="100%" height="100%" verticalGap="0" verticalScrollPolicy="off" horizontalScrollPolicy="off" >
<mx:VBox width="60%" height="60%" borderThickness="1" borderStyle="solid" verticalAlign="middle" backgroundColor="#E4E4E7">
<mx:Spacer height="1"/>
<mx:HBox >
<mx:Spacer width="1"/>
<mx:Image visible="{data.groupType=='1'?false:true}" includeInLayout="{data.groupType=='1'?false:true}" maintainAspectRatio="false" source="{data.imgSource}" width="{outerDocument.getVmsGroupDeviceWidth(data.groupType,data.devicesize)}" height="{outerDocument.getVmsGroupDeviceHeight(data.groupType,data.devicesize)}" />
<mx:TextArea name="textarea{data.devicename}" htmlText="{data.htmlText}" visible="{data.groupType=='1'?true:false}" includeInLayout="{data.groupType=='1'?true:false}" width="120" height="120" backgroundColor="black" editable="false" borderColor="black" verticalScrollPolicy="off" horizontalScrollPolicy="off"/>
<mx:VBox paddingTop="0" horizontalAlign="left" verticalGap="15" paddingLeft="0">
<mx:Image source="{data.stateUrl}" width="16" height="16" toolTip="{outerDocument.getStateName(data)}"/>
<label:MyLabel text="{data.laneNo}车道" width="20" visible="{data.groupType=='1'?true:false}" />
</mx:VBox>
</mx:HBox>
<mx:HBox >
<mx:Label paddingLeft="-2" width="150" text="{data.devicename}" paddingBottom="0" paddingTop="-1"/>
<mx:Image source= "{data.pubButImg}" toolTip="{data.pubButTip}" width="16" height="16" />
</mx:HBox>
</mx:VBox>
</mx:VBox>
</mx:Component>
</mx:itemRenderer>
</mx:TileList>
</mx:HBox>