• 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: Opening Drawers to given size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening Drawers to given size


  • Subject: Re: Opening Drawers to given size
  • From: Sam Stigler <email@hidden>
  • Date: Tue, 22 May 2007 12:27:56 +1000

You can also set the drawer's attributes (which mainly consist of sizes) in Interface Builder. Look under "Attributes" and "Size."

Sam


On May 22, 2007, at 8:41 AM, Roland Torres wrote:


On May 21, 2007, at 2:42 PM, Steve Sheets wrote:

Good day all...

Is there any control to how large a drawer opens up initially? I am using NSDrawer objects in several of my applications, but when they are first open up, the horizontal size of the drawer is much to small. I tried to find some setting that controlled how wide the drawer is when the open: or toggle: action is invoked, but could not find anything.. There is a min and max size for content area, but this controls min size of the view of the drawer, not the initial size that is opened. Once the user has opened a drawer, and resized it to the size he wants, toggling the open and close go to that correct size. However, the first time the drawer open, it is usually much to small for what is needed to view.

Issue -setContentSize: to the NSDrawer instance.

Roland


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Opening Drawers to given size (From: Steve Sheets <email@hidden>)
 >Re: Opening Drawers to given size (From: Roland Torres <email@hidden>)

  • Prev by Date: Predicate and beginswith
  • Next by Date: POSIX error: Broken pipe
  • Previous by thread: Re: Opening Drawers to given size
  • Next by thread: GUI Responsiveness with a Network Resource
  • Index(es):
    • Date
    • Thread