Yes, I finally got off my butt and made a minimal scroll bar. And a scrolling TextArea to boot. It’s in the version 0.101 SWC / source, or just update SVN.
The new components are VScrollBar, HScrollBar and TextArea.
These should all be considered beta at best until I get some real world feedback. They work pretty well for me so far but it wouldn’t shock me if a few bugs are found. Actually, HScrollBar has not been tested at all, and I’m just realizing now it’s probably very broken. So hold off on using that one. 🙂
These make possible lists and scroll panes, which I’ll probably be working on next.
OK, if you are checking out the source via SVN, the HScrollbar should be pretty good to go now. The SWC and zipped source of that component will still be unusable. Going to make a few other fixes on other submitted issues before I update those.
Why aren’t the Minimal Comps slider components track bars clickable?
http://www.bit-101.com/blog/?p=480#comment-2385
😉
Read the docs.
http://www.minimalcomps.com/documentation/com/bit101/components/Slider.html#backClick
Woo fancy! 🙂 I was basing my comment on the samples in the Components section of MinimalComps.com. I don’t like sites that target a tiny little button rather than that big ole juicy “background” area that’s just waiting to be clicked. Any chance I could convince you to set backClick to true by default (if it isn’t already)? Besides, it’ll help keep that Jakob Nielsen guy quiet. 😉
I’ve been thinking about that. Probably will.
This is a great addition! My one suggestion is that you make the content autoscroll when the user holds down on the up or down button. To me, that’s expected scrollbar behavior.
backClick is now true by default. Checked in. Will be in next SWC.
This might seem a silly question: But how do you add a movieclip to the ScrollBar component. Ive been doing so via your constructor but I now realise that parent display object is just for adding scrollbar to stage. So : that said: how do I register a movieclip to scroll with component.
Presumably, I don’t, I just add it to stage and update its values based on the ScrollBar’s
instance.value parameter ?
But the main conumdrum then is : the slider in the ScrollBar is always the full height of the component ? If the component is 200 pixels high then the slider is 200 pixels high.
I read the api and must be missing something really simple…
best
http://www.bit-101.com/blog/?p=2923