开发者

How to remove square drawn around window resize handle in an NSScrollview?

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'开发者_StackOverflows 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


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜