Re: NSSpliteView in Xcode Help UI
Re: NSSpliteView in Xcode Help UI
- Subject: Re: NSSpliteView in Xcode Help UI
- From: John Randolph <email@hidden>
- Date: Mon, 1 Mar 2004 17:44:39 -0800
On Feb 28, 2004, at 9:15 AM, So Hok Chun, Bill wrote:
Dear All,
Do you know how to create to the vertical and horizontal split bar in
Xcode Documentation window?
The splitter in the documentation window contains other GUI widget
such as scroll bar and popup button in addition to a button with 2
strips for adjusting width or height. This is very different from the
one we create in IB which has a little dot between 2 subviews.
Thank you very much for your help.
Bill,
I haven't checked, but I don't think that view in XCode is actually an
NSSplitView subclass. If you want to put some controls on the bar of
an NSSplitView, you could subclass it and override -adjustSubviews,
-dividerThickness, -drawDividerInRect: and the
-mouseDown:/-mouseDragged: methods.
-jcr
_______________________________________________
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.