• 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: IB and NSSplitView headaches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB and NSSplitView headaches


  • Subject: Re: IB and NSSplitView headaches
  • From: "Louis C. Sacha" <email@hidden>
  • Date: Tue, 12 Oct 2004 06:25:22 -0700

Hello...

Are the views overlapping each other when you select them and add them to the splitview?

That's the only way that I can replicate the behavior you are describing. Note that sometimes the drawn border of a widget doesn't necessarily indicate its frame.

If that's the problem, all you have to do is move them apart far enough that there is no chance that they are overlapping, and make sure that they are in the correct relative position to each other, and it should work just fine. Any extra space between the views is automagically removed (and the views are resized, aligned, etc) when you add the views to the splitview, so there's no need for any extra work in that regard.

Hope that helps,

Louis

I'm trying to set up a split view in Interface Builder, and I'm
starting to wonder if it's a futile exercise.

The setup should be simple: I've got two views, next to each other,
and I want them to be contained in a vertical split view. So I select
both, and make them subviews of a split view.

But the split view is horizontal, even though the two views were
side-by-side. OK, so I switch it to vertical (and spend some resizing
and moving everything, since by now I've got a bizarro-world version
of the dimensions I started with).

But now the views are rearranged! The view that was on the left when
I started is now on the right of the split view. How can I get the
vertical split view AND actually keep the arrangement I started with?
I've tried rearranging and resizing the original views in a variety of
ways, in the hope of getting this, but it always seems to come out the
same.

This is with IB 2.4.2 (latest released version, I think)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >IB and NSSplitView headaches (From: Tom Harrington <email@hidden>)

  • Prev by Date: Cocoa OpenGL and text
  • Next by Date: Re: modal window stack
  • Previous by thread: Re: IB and NSSplitView headaches
  • Next by thread: Re: IB and NSSplitView headaches
  • Index(es):
    • Date
    • Thread