Re: SplitView probbs, hmm...
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