BGHUDAppKit icon indicating copy to clipboard operation
BGHUDAppKit copied to clipboard

BGHUDScrollView scroll arrows "DoubleBoth"

Open loretoparisi opened this issue 13 years ago • 2 comments

BGHUDScroller.m is a great piece of code.

Is it possibile to extend it and position the arrows as for AppleScrollBarVariant "DoubleBoth" or to enable double-scroll arrows at both ends of the scroll bars.

I know as for http://code.google.com/p/bghudappkit/issues/detail?id=14 that setting has been depreciated, but is it possibile the customize the drawers methods to obtain it in some way?

Thanks, LP

loretoparisi avatar Jul 22 '11 14:07 loretoparisi

The positions of arrows is configured in the system preferences and it's a global setting, users can configure that with the following commands: defaults write "Apple Global Domain" AppleScrollBarVariant DoubleBoth

I think you may subclass or do some category codes to override this part in your app. But I'm not sure.

Good luck!

CocoaBob avatar Jan 13 '12 14:01 CocoaBob

OK, I found the instant method called - (NSScrollArrowPosition)arrowsPosition which is included in the Mac OS SDK, I think you can override it in your subclass.

CocoaBob avatar Jan 13 '12 14:01 CocoaBob