Re: 2 questions-(drawer)
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