Question about NSScrollView

2010-02-19 Thread Mario Kušnjer
Hi all ! So I have a question on how to resolve a little issue I have with NSScrollView. I have created everything programmatically (a little exploration task to learn and understand how to do stuff without IB). I have an NSOutlineView enclosed in an NSScrollView (as recommended by

Re: Question about NSScrollView

2010-02-19 Thread Jack Carbaugh
tell your NSScrollView to setAutoHidesScrollers:yes This should hide the scrollbars until needed. http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSScrollView_Class/Reference/Reference.html On Feb 19, 2010, at 3:10 AM, Mario Kušnjer wrote: Hi all !

Re: Question about NSScrollView

2010-02-19 Thread Mario Kušnjer
On 2010.02.19, at 11:43, Jack Carbaugh wrote: tell your NSScrollView to setAutoHidesScrollers:yes This should hide the scrollbars until needed. http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Reference/ApplicationKit/Classes/NSScrollView_Class/Reference/Reference.html That's one

Re: Question about NSScrollView

2010-02-19 Thread Jack Carbaugh
If you review the documentation, it tells you how to show either the vertical or the horizontal scroller. On Feb 19, 2010, at 6:13 AM, Mario Kušnjer wrote: On 2010.02.19, at 11:43, Jack Carbaugh wrote: tell your NSScrollView to setAutoHidesScrollers:yes This should hide the scrollbars