NSSplitView and InterfaceBuilder
NSSplitView and InterfaceBuilder
- Subject: NSSplitView and InterfaceBuilder
- From: Stephane Sudre <email@hidden>
- Date: Mon, 20 Dec 2004 13:11:48 +0100
Is there any logic in the way views are grouped in a NSSplitView when
you use InterfaceBuilder?
I have 2 views a NSView and a NSScrollVier.
They are aligned like this:
+----+ +----------+
| | | |
| V | | ScrollV |
| | | |
+----+ +----------+
When I make them subviews of a split view, I end up with a horizontal
split view, which is definitely not what I want and not what could be
guessed from the locations of the views.
When I switch to a vertical view, I end up having the view on the right
and the scroll view on the left. Definitely not what I'm looking for.
So I have 2 questions related to this:
- Is there any algorithm used to guess whether the orientation should
be horizontal or vertical depending on the relative locations of the
future subviews? If yes, is it possible to help it with some relative
positioning of views?
- When you have your left on your right in a SplitView, how can you
change that in Interface Builder?
Mac OS X 10.3.6, Xcode 1.5.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden