Re: NSSplitView hacking
Re: NSSplitView hacking
- Subject: Re: NSSplitView hacking
- From: Ken Ferry <email@hidden>
- Date: Mon, 22 Dec 2003 21:17:27 -0500
Hi Nicholas,
If it's a help, I was also hacking on NSSplitView (I wanted to
programmatically collapse and uncollapse subviews), and I ended up
reimplementing almost all of it. It's probably easier to hack on my
reimplementation, which you can find here:
<
http://homepage.mac.com/kenferry/software.html>.
-Ken
On Dec 17, 2003, at 6:20 PM, Nicholas Francis wrote:
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.
_______________________________________________
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.