• 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: Tom Harrington <email@hidden>
  • Date: Tue, 12 Oct 2004 09:20:36 -0600

On Tue, 12 Oct 2004 06:25:22 -0700, Louis C. Sacha
<email@hidden> wrote:
> 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.

Yes, that was it, thanks. I hadn't noticed the overlap, because the
views in question are borderless NSBoxes I had created by grouping
other views-- so the elements I'd drawn out had no overlap, but the
NSBoxes did. I would have thought that the dimension adjustment you
get when grouping in a split view (as with removing the extra space
that you mention) would have dealt with this correctly, but apparently
not. Oh well, at least now I've got what I need. Thanks for the tip.

--
Tom Harrington
email@hidden
_______________________________________________
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: Re: [NEWBIE] How to localize toolbar button?
  • Next by Date: Associating a file extension with an app
  • Previous by thread: Re: IB and NSSplitView headaches
  • Next by thread: Newbie needs help! (reading control-clicks)
  • Index(es):
    • Date
    • Thread