0

I have an NSScrollview that takes up an entire window. The scrollview has a vertical scrollbar but no horizontal scrollbar. The window color is gray. The window is resizable.

Cocoa automatically draws a white square with a light gray border around the window's resize handle (right below the bottom of the vertical scroller). I would like to remove that little white square so that the gray window color and resize grooves show through. How do I do that?

Share photos on twitter with Twitpic http://twitpic.com/show/thumb/27dcp1.png

sam
  • 3,399
  • 4
  • 36
  • 51

2 Answers2

0

Just a guess, but try setting the scroll view's background color to [NSColor clearColor].

Peter Hosey
  • 95,783
  • 15
  • 211
  • 370
  • Proven advice instead of wild guesses would be much more helpful. I am having the same problem and your hint didn't work. – Pegolon Dec 07 '10 at 08:18
0

Send the window a setShowsResizeIndicator:NO and draw your own indicator as you like...

MrO
  • 685
  • 5
  • 8
  • I tried this. The problem with this is then the scrollbar travels all the way to the bottom of the window, leaving no room for a resize indicator to be custom drawn. – sam Mar 23 '11 at 19:06