PDA

View Full Version : Scroll bar customizing




szsiddiq
Mar 20, 2007, 05:58 PM
Is it possible to reprogram the scroll bars is OS X to be wider?



h?
Mar 20, 2007, 06:04 PM
Is it possible to reprogram the scroll bars is OS X to be wider?

Only way that i can think of doing it is to make your own theme.

szsiddiq
Mar 20, 2007, 06:09 PM
how hard is that?

maxrobertson
Mar 20, 2007, 06:43 PM
I don't even think you can do it with your own theme. I'm pretty sure the sizes of all the interface elements are fixed.

kpua
Mar 20, 2007, 08:22 PM
It should be possible to do so in your own applications by subclassing NSScroller. The size of the scroller isn't hard coded, as can be seen by the fact that NSScroller has a "small" size. A properly designed subclass should allow a scroller of any width (perhaps within certain limits), though it's probably a lot more work than you would guess.

If you succeed in creating that, there might be a possibility of making that class pose as NSScroller for all Cocoa applications. I highly doubt in the feasibility of doing this, and then again, it would only affect Cocoa applications.

So, if you're looking to change the scroller width throughout the system, I'd say you're out of luck.

slooksterPSV
Mar 20, 2007, 09:15 PM
you could probably do this with images as well, when the user clicks on the down button to scroll down, have it set the position of another image down lower or whatever you want, and have the up arrow do the opposite. Then have an image that shows the location that is draggable up down left right that will changed the position. It may take longer to code, and you'd have to setup everything to scroll based on it, but its possible (at least I think).