Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
On Jun 21, 2008, at 7:53 PM, Andreas Mayer wrote: There's actually a better way that Milen pointed out, though. If you don't need to support systems earlier than 10.5, yes. Yes, that's right. I forgot to mention that. Regards Markus -- __ Markus Spoett

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Andreas Mayer
Am 22.06.2008 um 03:58 Uhr schrieb Markus Spoettl: There's actually a better way that Milen pointed out, though. If you don't need to support systems earlier than 10.5, yes. Andreas ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
On Jun 21, 2008, at 5:53 PM, Andreas Mayer wrote: The documentation for NSSplitView says: dividerThickness Returns the thickness of the divider. - (CGFloat)dividerThickness Discussion You can subclass NSSplitView and override this method to change the divider’s size, if necessary. I gues

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
Hi Milen, On Jun 21, 2008, at 6:21 PM, Milen Dzhumerov wrote: "A common UI pattern now is to provide a button to show and hide one subview or another of a split view, and completely hide the divider when the subview between it and the edge of the window is hidden. To make it easy for you to

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Milen Dzhumerov
Hi Markus, AppKit release notes say this: "A common UI pattern now is to provide a button to show and hide one subview or another of a split view, and completely hide the divider when the subview between it and the edge of the window is hidden. To make it easy for you to do this there is a

Re: How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Andreas Mayer
Am 22.06.2008 um 00:38 Uhr schrieb Markus Spoettl: Is that something I can do with NSSplitView? If so, how? The documentation for NSSplitView says: dividerThickness Returns the thickness of the divider. - (CGFloat)dividerThickness Discussion You can subclass NSSplitView and override this

How to hide the divider in a collapsed NSSplitView pane

2008-06-21 Thread Markus Spoettl
Hello List, I've done a lot of testing and googling but I can't figure out how or even if it is possible to completely hide a divider of a NSSplitView. Suppose I have a split view setup like this: A B |--|--| B is collapsible through a button, not through dragging (there i