Is there a way to set the minHeight of the scroll bar thumb in Flex 3

Posted by Mad Oxyn on Stack Overflow See other posts from Stack Overflow or by Mad Oxyn
Published on 2009-12-23T21:22:17Z Indexed on 2010/03/17 22:21 UTC
Read the original article Hit count: 257

Filed under:
|
|

In my project we needed to make the scollbars look like Windows scrollbars.

Therefore I have a thumbIcon on the thumb of a vertical scrollbar, but if I get too many items in the combobox, the scrollbar gets fiddly. This is because the margin between the thumbIcon and the border of the thumbSkin is too small.

Is there a way to set the minimum height of the thumbSkin so that I can ensure there is always a margin there and it always looks good, even if there are too many items?

Fiddly scroll bar

Image above, see the thumb? By the thumbIcon I mean the 3 horizontal lines. The top and bottom margin between this icon and the border of the thumb itself is too small.

Normal scroll bar

This is the normal scroll bar, the thumbIcon and the borders of the thumb have enough margin, which make the scroll bar look a lot better.

© Stack Overflow or respective owner

Related posts about flex

Related posts about scrollbar