• 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: layout question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: layout question


  • Subject: Re: layout question
  • From: Andy Lee <email@hidden>
  • Date: Sun, 03 Apr 2011 03:51:32 -0400

Rather than try to figure out the answer in my head, which is what got me into trouble in the first place, here's a nib that does the trick.

--Andy

On Apr 3, 2011, at 2:21 AM, Quincey Morris wrote:

On Apr 2, 2011, at 22:56, Andy Lee wrote:

Ah, you are right! And since views can overlap now, you can put the middle button on top.

--Andy

On Apr 2, 2011, at 10:19 PM, Chris Suter wrote:

Hi Andy,

On Sun, Apr 3, 2011 at 9:51 AM, Andy Lee <email@hidden> wrote:
I don't think you can do it in IB. You can do it like this:

Actually, you can. If you embed the images in some other NSView
objects (a “Custom View” in IB) and make sure that these container
NSView objects are touching, you can then set the springs up to keep
the distances between your images and the edges of the container
NSView objects constant, which will keep the images a constant
distance apart.

AFAICT, the above only works when, additionally, the outer edges of the enclosing views are aligned with the edges of the windows. Or am I missing something?



Attachment: Symmetry.xib.zip
Description: Zip archive

 _______________________________________________
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

  • Follow-Ups:
    • Re: layout question
      • From: nightwave <email@hidden>
    • Re: layout question
      • From: Quincey Morris <email@hidden>
References: 
 >layout question (From: nightwave <email@hidden>)
 >Re: layout question (From: Andy Lee <email@hidden>)
 >Re: layout question (From: Chris Suter <email@hidden>)
 >Re: layout question (From: Andy Lee <email@hidden>)
 >Re: layout question (From: Quincey Morris <email@hidden>)

  • Prev by Date: C++ and boost
  • Next by Date: Re: layout question
  • Previous by thread: Re: layout question
  • Next by thread: Re: layout question
  • Index(es):
    • Date
    • Thread