• 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: SplitView probbs, hmm...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SplitView probbs, hmm...


  • Subject: Re: SplitView probbs, hmm...
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 23 Jan 2002 14:01:07 -0800

On Wednesday, January 23, 2002, at 01:39 PM, Gore wrote:

My split view just wont change the divider height, I've read the docs lime 100 times andstill it wont work, I've checked the delegate connection and everything, am I still doing something wrong here?! my code:

When you go manually resizing subviews of a splitview, the splitview gets notifications that its subview's size has changed, and it will re-tile its subviews, using the value it has stored for -dividerThickness.

If you just want to change the divider height, subclass NSSplitview, and override

- (float)dividerThickness

Returns the thickness of the divider. You can subclass NSSplitView and override this method to change the divider's size, if necessary.

If you want to get really fancy, you can also override -drawDividerInRect:


-jcr


"Bill Gates is just a white Persian cat and a Monocle away from being the villain in a James Bond flick" - Dennis Miller


  • Follow-Ups:
    • Re: SplitView probbs, hmm...
      • From: Gore <email@hidden>
References: 
 >SplitView probbs, hmm... (From: Gore <email@hidden>)

  • Prev by Date: SplitView probbs, hmm...
  • Next by Date: Cocoa Clipping != Performance?
  • Previous by thread: SplitView probbs, hmm...
  • Next by thread: Re: SplitView probbs, hmm...
  • Index(es):
    • Date
    • Thread