Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这就是问题:如何从 TextArea 中对 VScrollBar 进行蒙皮!?我确实从 Spark 列表中对 VScrollBar 进行了皮肤处理,并且工作正常,但不是这个!有什么帮助!?谢谢 ;-)
使用样式表设置皮肤,该样式表将您选择的文本区域内的所有滚动条设置为使用您的皮肤。例如,使用这个指令:
.scrollableText s|VScrollBar { skin-class: ClassReference("com.net.org.skins.ScrollBarSkin"); }
要皮肤这个文本区域:
<s:TextArea styleName="scrollableText">