drawTheLine(box.x-28,0,box.x+28,0,XML(list[i])..@name);
var inputBox:HBox=new HBox();
var la:Label=new Label();la.width=100;
la.text=XML(list[i]).@name;
la.setStyle("textAlign","right");
var input:TextInput =new TextInput();
input.width=300;
input.editable=false;
inputBox.addChild(la);
inputBox.addChild(input);
mainInput.addChild(inputBox);
<mx:HBox width="100%" height="50%" id="mainBox" horizontalGap="30" verticalAlign="middle"/>
<code:WindowShade width="100%" height="50%" id="mainInput" cornerRadius="4" label="节点配置" opened="false" layout="vertical">
<mx:HBox width="100%" verticalAlign="middle" textAlign="right" paddingLeft="20">
<mx:Label text="选择配置类型"/>
<mx:RadioButtonGroup id="ctype"/>
<mx:RadioButton label="按人员配置" selected="true" value="user"/>
<mx:RadioButton label="按岗位配置" value="dept"/>
<mx:RadioButton label="按角色配置" value="role"/>
</mx:HBox>
</code:WindowShade>
<mx:HBox width="100%" horizontalAlign="center">
<mx:Button label="保存" useHandCursor="true" buttonMode="true" click="doSave()"/>
<mx:Button label="取消" useHandCursor="true" buttonMode="true" click="doCancel()"/>
</mx:HBox>
.flowBox{
font-size:12;
font-weight:bold;
border-style:solid;
border-color:#F0AD84;
horizontal-align:center;
vertical-align:middle;
corner-radius:10;
}