Flex 中的 Halo 滚动条蒙皮
我的应用程序中的 Spark 滚动条按照我想要的方式设置皮肤,其中使用 s|VScrollBar
,然后在 CSS 文件中设置 skinClass: ClassReference(my Skin class)
。对于我的 Halo 滚动条,我为滚动条的每个元素(箭头、拇指、轨道等)设置了外观,但我希望有一个像 Spark 滚动条一样的中心类。有什么办法可以做到这一点吗?
I have the Spark scroll bar in my application skinned the way I want where I use s|VScrollBar
and then set skinClass: ClassReference(my skin class)
in my CSS file. For my Halo scroll bar I have the skins set for each element of the scroll bar (arrows, thumb, track, etc.) but I want to have one central class like with the Spark scroll bar. Is there any way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,但与 Spark 中的方式不同。 Spark 是为了轻松换肤而设计的,这是 Flex 4 的伟大之处,但 Flex 3 的做法却截然不同。
您可以做的是将 Flex 3 滚动条扩展为自定义类,在其中设置所有这些元素。然后在该项目中,只需引用该自定义类。可悲的是,这就是我们所能做的一切。
Yes, but not in the same way as you can in Spark. Spark was made for easy skinning which is the great thing about Flex 4, but Flex 3 did things very differently.
What you can do is extend the Flex 3 scrollbar into a custom class that sets all those elements in it. Then within that project, just reference that custom class. Sadly, that's all that can be done.