• 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: Gore <email@hidden>
  • Date: Thu, 24 Jan 2002 11:54:17 +0200

YEPP! thx

it now works =) and I figured out one thing! you can't change the size of a view via an outlet, you must use [splitView subviews]; to get the views, this helped me a lot! thx again...

On Thursday, January 24, 2002, at 12:01 , John C. Randolph wrote:

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
_______________________________________________
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.


References: 
 >Re: SplitView probbs, hmm... (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Re: Sort of off topic, but please help?
  • Next by Date: Weird calculation
  • Previous by thread: Re: SplitView probbs, hmm...
  • Next by thread: Cocoa Clipping != Performance?
  • Index(es):
    • Date
    • Thread