繁体   English   中英

在Flex中,我的按钮出现在取舍下方的行中

[英]in flex my button appears in the line below a formitem

在Flex中,我的按钮显示在一个取舍下方的行中。 还有其他添加按钮的方式,使其与其余部分相同的级别吗? 密码上似乎没有按钮属性。 随附的是一个示例的示例以及下方按钮的代码。 任何建议最欢迎,谢谢。

<ch:FormItem label="Gym Dosier Type:" >
<pss:dossierFinder id="gymOriginFinder" displayLabel="true"
allowMultipleSelection="false"
autoContactServer="true"
initialAccountClass="{AccountClassConstants.gym}"  
 accountClassEnabled="false"
initialMultigym="{gymInterdossierchinder.model.selectedItem.code}"
initialgymsource="{gymsource.model.selectedItem.internalCode}"/>
<mx:Button id = "addLineButton" icon="{addIcon}" toolTip="Add new gym member"                click="{addPack(event)}" enabled="true"/>
</ch:FormItem>

我不清楚<ch:FormItem />是您自己的单独组件还是只是扩展了mx:FormItem,但在后一种情况下,您可以将FormItem组件的direction参数设置horizo​​ntal

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM