去掉删除按钮变成
要如何做呢:把删除和缩小按钮的属性改为false就可以了。
<viewer:WidgetTemplate width="300" height="200" enableCloseButton="false" enableMinimizeButton="false">
<!--<manager:popup id="popup"/>-->
<s:Group>
<mx:Label y="20.5"
text="方案名称:"
width="69"
height="24"
id="username0"
enabled="true"
fontSize="12"
color="#004A7B"
fontWeight="normal"
x="13"/>
<mx:TextInput x="79"
y="20.5"
id="protext"
color="#004A7B"
fontSize="12"
width="160"
height="22"/>
<mx:Button id="qdbutton"
styleName="button1"
fontWeight="normal"
x="78.5"
y="59"
label="确 定"
fontSize="12"
click="proToDB(event)"
/>
<mx:Button id="qxbutton"
styleName="button1"
fontWeight="normal"
x="177"
y="59"
click="close(event)"
label="取 消"
fontSize="12"/>
</s:Group>
</viewer:WidgetTemplate>