Fwd: NSSplitView hacking
Fwd: NSSplitView hacking
- Subject: Fwd: NSSplitView hacking
- From: Nicholas Francis <email@hidden>
- Date: Thu, 18 Dec 2003 00:20:39 +0100
Thanks for the tip, but I've already tried it ;-)
My problem is that I want the divider to appear to be only 1 pixel
thick, but have a grabbable area of 6 pixels. If I set dividerThickness
to 6, and only draw a 1px line, I get a few pixels of pinstripe around
the subviews. If I set my dividerThickness to 1, the subviews place
correctly, but Its very hard to get hold of the divider.
cheers,
Nicholas
On Dec 17, 2003, at 5:44 PM, email@hidden wrote:
Override drawDividerInRect() and put your own drawing code in it. You
will also
need to override dividerThickness() with the size of your new divider.
Robert La Ferla
OSX Cocoa Consultant
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.