• 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: positioning items in a drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: positioning items in a drawer


  • Subject: Re: positioning items in a drawer
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 15 Jan 2003 03:45:07 -0500

On Sunday, January 12, 2003, at 09:19 PM, Koen van der Drift wrote:

Hi,

I created a window with a drawer. In IB I made a content view for the
drawer, and added some items starting from the top of the view. However, if
the drawer opens in the app, the items are all moved down, centered in the
drawer. How do I keep the items where I positioned them in IB?


You need to make sure that the DrawerContents view in IB for the drawer is set to resize properly (the inner springs both curled).. the default is not... so the items aren't actually moving, the view containing them are...

be sure to try running your UI in IB (stick in a temporary toggle button to open the drawer, control drag a connection to the drawer and connect it to toggle:)... that way you can experiment some..

also, be sure to set the minimum size for the drawer contents to a size that will show all your controls, and that the parent's minimum window size is also set to at least that... _______________________________________________
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: 
 >positioning items in a drawer (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: writeToFile and arrayWithContentsOfFile
  • Next by Date: Re: Apple and Cocoa (why don't they eat their own dog food?)
  • Previous by thread: Re: positioning items in a drawer
  • Next by thread: Re: positioning items in a drawer
  • Index(es):
    • Date
    • Thread