I'm skinning a scrollbar and I'm having some problems width the ScrollBarThumb (the actual button on the scrollbar). I want to give it a fixed width but no matter what I try it always gives the Thumb a dynamic width.
This is what I have in the skin class:
<!--- The default skin class is HScrollBarThumbSkin.
@see spark.skins.spark.HScrollBarThumbSkin -->
<s:Button id="thumb" width="20"
I wonder if the actual size of the thumb is controlled in the HScrollBarSkin on the thumb skinpart?
If this post answers your question or helps, please mark it as such. Thanks!
Adobe Flex Development and Support Services
Probably not but I don't really know where to look for it and what property I should use to define it.
Note that I'm skinning a scrollbar inside a List.
Mmm this was much more straightforward in Flex3.
Try fixedThumbSize="true" on the HScrollBar