如何在标签部分构建带有图像按钮的 Flex FormItem?
我想构建一个 Flex FormItem 扩展,将一个按钮添加到项目标签部分,这样既有文本标签,又有一个使用图像图标的按钮:
表单项 http://img830.imageshack.us/img830/4411/screenshot20100730at331.png
基本上,我想要创建该“i”图标,以便我可以单击它来显示相关项目的帮助叠加层。
是否有现有组件可以执行此操作?如果没有,我该怎么做?
I want to build a flex FormItem extension that adds a button into the item label section, such that there is both a text label and, to the right of it, a button that uses an image icon:
A form item http://img830.imageshack.us/img830/4411/screenshot20100730at331.png
Basically, I want to create that 'i' icon, such that I can click on it to display a help overlay for the item in question.
Is there an existing component that does this? If not, how do I do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试使用 grid、gridrow 和 grititem,就像 html 表格一样。并将标签和“i”图像添加到网格项内的水平布局容器中。
Try to use grid, gridrow, and grititem, like the html table. and add the label and the "i" image into a horizontal layout container inside the griditem.
请参阅
http://kennethsutherland.com/2009/05/27/formitem -添加图标/
See
http://kennethsutherland.com/2009/05/27/formitem-adding-an-icon/