• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSSplitView hacking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSSplitView hacking
      • From: Nicholas Francis <email@hidden>
References: 
 >Fwd: NSSplitView hacking (From: Nicholas Francis <email@hidden>)

  • Prev by Date: Init NSArray with c array
  • Next by Date: Re: Database Application with Obj-C
  • Previous by thread: Re: Fwd: NSSplitView hacking
  • Next by thread: Re: NSSplitView hacking
  • Index(es):
    • Date
    • Thread