• 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: Setting the size of a drawer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the size of a drawer


  • Subject: Re: Setting the size of a drawer
  • From: Mark T <email@hidden>
  • Date: Sun, 8 Jul 2001 18:07:53 -0400

Hi,
How do you set the size( the width ) of a drawer ? It doesn't seem to
depend
upon the size of the content view, and it doesn't seem there are any
methods
that does anything similar in NSDrawer.

Thanks

- (void)setContentSize:(NSSize)size
There should be a way to do this in Interface Builder, but at least in
mine, those fields are grayed out and disabled(NSDrawer Info, size tab,
Content Size fields). So I just put this method in my awakeFromNib:
[theDrawer setContentSize:NSMakeSize(width,height)];
and it works great
Hope that helps you,Mark T.


References: 
 >Setting the size of a drawer (From: Prem Chopra <email@hidden>)

  • Prev by Date: Setting the size of a drawer
  • Next by Date: Interface Builder documentation
  • Previous by thread: Setting the size of a drawer
  • Next by thread: Interface Builder documentation
  • Index(es):
    • Date
    • Thread