flex 3手风琴组件和圆角 [英] flex 3 accordion component and rounded corners

查看:212
本文介绍了flex 3手风琴组件和圆角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Flex中使用手风琴组件,似乎无法使头部有圆角。页脚没有问题,但标题remnains广场,任何建议吗?

解决方案

这是,展示了如何自定义这个应用程序。手风琴控制,伴随着源代码和解释,他做了类似的事情。虽然细节将取决于你想要做什么,但基本上你需要重新皮肤的手风琴项目标题的按钮和/或选择皮肤。

皮肤可能有点棘手,看起来应该是比它更容易的事情之一(个人而言,我发现使用Flash的皮肤除了最简单的情况是一个痛苦的人,我更喜欢在代码中或者标记),但是如果您在示例中花费了一点时间,我相信您会看到正在发生的事情并能够应用到您的项目中。希望它有帮助 - 祝你好运!


Im using the accordion component in Flex and cant seem to get the header to have rounded corners. The footer rounds no problem but the header remnains square, any suggestions?

解决方案

Here's an in-depth example from Doug McCune showing how to customize the Accordion control, with accompanying source code and explanation, in which he does something similar. While the specifics will depend on what you're trying to do, essentially you need to re-skin the button and/or selection skins of the accordion-item header.

Skinning can be a bit tricky, one of those things that seems like it ought to be easier than it is (and personally I find using Flash for skinning to be a pain for all but the simplest situations; I much prefer to do it in code or markup), but if you spend a little time with the code in the example I'm sure you'll see what's going on and be able to apply to your project. Hope it helps -- good luck!

这篇关于flex 3手风琴组件和圆角的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆