I'm working on a port of Lion-like scrollbars (no fancy bounce effect for now)
It's still a work in progress, but you can look at it here http://nightlies.archipelproject.org/scrollview/
The question is: do you want scrollers like this in Cappuccino (I'm working on adding the different styles, no auto hide etc...)
Thanks,
--
Antoine Mercadal
--
You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J Development List" group.
To post to this group, send email to objecti...@googlegroups.com.
To unsubscribe from this group, send email to objectivej-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/objectivej-dev?hl=en.
Magnifique!
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
http://nightlies.archipelproject.org/scrollview/
This works pretty fine. But one thing I can't figure out:
When you change the scroller style (using the well named button), there is an offset that is exactly the -scrollerSize.
By running the debugger, I see that the offset appears right here: https://github.com/primalmotion/cappuccino/blob/lionscrollview/AppKit/CPScrollView.j#L976
But the frame seems to have a correct origin (1,1), as taking care of the border.
As a note, if I initialize my view directly with the legacy mode (scrollers always visible) it works fine, but in that case, it's the overlay mode that has an offset of +scrollerSize
I have to admit I may have the head in it for too long I can't see clearly, but I can't find any clue about this.
--
Antoine Mercadal