Re: Vertical Split View...
Re: Vertical Split View...
- Subject: Re: Vertical Split View...
- From: Alexander Reichstadt <email@hidden>
- Date: Mon, 20 May 2002 12:38:25 -0700
1st you can set the split direction programmatically, check in AppKit
docu for NSSplitView.
Furthermore you can do so by using IB proceeding like this
1. drag a custom view into your window
2. select it
3. Press CMD-SHIFT-I
4. Select the attributes menu item in your info-pallette
5. Switch the class from NSView to NSSplitView
6. Drag-drop two items into your NSSplitView, say a NSTableView and a
NSTextView. the first on the right, the second on the left
7. Select both of them, Table and Textview
8. Under the layout menu you can now select make subview
of....->SplitView
9. Now you should be able to select both of these items as one 'group'
so to say
10. In the info panel you can now select wether you want it to be
vertical or horizontal, and you can testdrive it within IB
Hope it helps
Alex
On Thursday, May 16, 2002, at 09:21 AM, Albert Atkinson wrote:
From: Albert Atkinson <email@hidden>
Date: Thu May 16, 2002 09:21:33 AM US/Pacific
To: Cocoa Dev <email@hidden>
Subject: Vertical Split View...
Hello!
I have been able to get a horizontal split view in my app with no
problems. However, I seached the documentation and can not figure out
how I would implement a vertical split view. I am pretty sure I have
seen this before in Cocoa apps. Does anyone know how to do this?
Thanks!
Albert
_______________________________________________
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.
_______________________________________________
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.