• 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: Controlling control positions and size in a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Controlling control positions and size in a window


  • Subject: Re: Controlling control positions and size in a window
  • From: Daryn <email@hidden>
  • Date: Thu, 29 Jan 2004 01:23:02 -0600

You need to the springs & structs correctly. See " How do I set up the
springs and struts so my views autosize?" at:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
IBTips/Articles/FreqAskedQuests.html

On Jan 29, 2004, at 12:47 AM, Steve Palmer wrote:

> I'm trying to figure out how the auto-sizing of views and controls
> within a window work.
>
> I have a mail window that has a NSTextField and NSProgressControl
> positioned at the top and below that, an NSSplitView that takes up the
> rest of the space. The NSSplitView size info is set so that when the
> split view is resized, the views within it are automatically resized.
>
> The problem is that when the main window is resized, the position of
> the NSTextField and NSProgressControl are also automatically adjusted
> relative to the main window size. What I want is for the NSTextField
> not to move and for the NSProgressControl to move left or right
> depending on the main window width, and for the NSSplitView to
> automatically size as it does now. Unfortunately I can't figure out
> how to set this behavior in Interface Builder and the help doesn't
> give any clue.
>
> Any pointers would be most welcome.
> Thanks.
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

  • Follow-Ups:
    • Re: Controlling control positions and size in a window
      • From: Steve Palmer <email@hidden>
References: 
 >Controlling control positions and size in a window (From: Steve Palmer <email@hidden>)

  • Prev by Date: Re: Changing the Window level upon dragging.
  • Next by Date: Re: Controlling control positions and size in a window
  • Previous by thread: Controlling control positions and size in a window
  • Next by thread: Re: Controlling control positions and size in a window
  • Index(es):
    • Date
    • Thread