• 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: 2 questions-(drawer)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 questions-(drawer)


  • Subject: Re: 2 questions-(drawer)
  • From: Charles Bennett <email@hidden>
  • Date: Tue, 12 Jun 2001 08:48:20 -0400

Gururaj Bhat wrote:
>
> Hi,
> I got many questions.
> 1) In carbon pop up arrow is there is in cocoa same feature is
> supported?

Can't answer this part, as I don't do carbon.

> 2) Is in cocoa, the drawer size(i.e height) can be different than
> the parent window if yes how we can achieve it?
> Thanks,
> guru
>

Yes. I had this problem not long ago and Douglas Davidson at Apple was
kind enough to lead me to the answer.

It's the "trailing offset" and "leading offset" methods that control this.
"Trailing" controls when the bottom of the drawer is relative to the parent window
and "Leading" controls how far down the window the drawer starts.

I fought this for quite awhile, trying to "resize" the content and expecting
the drawer to conform. Douglas led me to the answer, hopefully I can pass it on.


chuck


  • Follow-Ups:
    • zlib framework missing ?
      • From: Prem Chopra <email@hidden>
References: 
 >2 questions-(drawer) (From: Gururaj Bhat <email@hidden>)

  • Prev by Date: Re: Start & Stop demon
  • Next by Date: Re: 2 questions-(drawer)
  • Previous by thread: 2 questions-(drawer)
  • Next by thread: zlib framework missing ?
  • Index(es):
    • Date
    • Thread