• 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: Three Views in a Row
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Three Views in a Row


  • Subject: Re: Three Views in a Row
  • From: William LeFevre <email@hidden>
  • Date: Fri, 30 Apr 2004 14:28:54 -0700

On the left view turn, on the right, outside, horizontal spring.
On the middle view, turn on the left and right, outside, horizontal springs.
On the right view, turn on the left, outside, horizontal spring.

This will lock the left view to the right side of the window, lock the right view to the right side window, allow the views to expand, and prevent them from over lapping. It does not maintain the distance between the view. As you expand the window the distance between views will increase slightly. If you need them to maintain an exact separation distance, you may need to do that programatically.

William


On Apr 30, 2004, at 10:56 AM, Gerriet M. Denkmann wrote:

I have a window with three CustemViews in a row.

When I put the horizontal springs inside (in IB) and resize the window by 100 pixels, each view increases its width by 100.

I could take windowWillResize and then send messages to my 3 views; but surely there is a more elegant way?
Probably something very obvious.

Thanks in advance.

Gerriet.
_______________________________________________
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.


References: 
 >Three Views in a Row (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: TextView , Select All and spellcheck issue
  • Next by Date: Re: Injecting an NSResponder into the responder chain
  • Previous by thread: Three Views in a Row
  • Next by thread: Passing a click to a background app without activating it?
  • Index(es):
    • Date
    • Thread