• 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
Fwd: NSSplitView hacking
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSSplitView hacking
      • From: Ken Ferry <email@hidden>
    • Re: Fwd: NSSplitView hacking
      • From: "Louis C. Sacha" <email@hidden>
  • Prev by Date: typedstream files: how do you read them?
  • Next by Date: Tableview woes
  • Previous by thread: Re: NSSplitView hacking
  • Next by thread: Re: Fwd: NSSplitView hacking
  • Index(es):
    • Date
    • Thread