Re: IB Woes
Re: IB Woes
- Subject: Re: IB Woes
- From: The Amazing Llama <email@hidden>
- Date: Thu, 7 Aug 2003 15:57:59 -0700
Yes, it does.
On Thursday, August 7, 2003, at 03:34 PM, Scott Anguish wrote:
does the contentView of the drawer automatically resize? (it has the
right flags?)
On Thursday, August 7, 2003, at 5:55 PM, The Amazing Llama wrote:
I'm not having a bit of luck with this.
I have a window-bottom drawer in my document's nib that doesn't have
an associated view. In code, I load that view and tell the drawer
that that is it's contentView. But the drawer stubbornly refuses to
resize vertically, instead always snapping to 200 px, even when I
tell the drawer that it's 'Content Size' and it's 'Max Content Size'
are over this (in the thousands range, just to check).
Since this didn't work, I opened the view that becomes the
contentView and tried to find someplace to set it's maximum size, but
no matter what setting I change ('Frame' or 'Layout Rect',
'Width/Height' or 'MaxX/ MaxY'), the view resizes itself in IB, which
leads me to wonder what all these settings are for and why they all
do the same thing.
There is a document in the Drawers topic
<http://developer.apple.com/documentation/Cocoa/Conceptual/Drawers/
Concepts/DrawerSizing.html#//apple_ref/doc/uid/20001524/CJBGFCAA> that
might be relevant.
You may need to manually set the size of the drawer initially... The
drawer won't automatically resize to the size of the view you stick
in, rather the view resizes to the parent.
Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
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: | |
| >Re: IB Woes (From: Scott Anguish <email@hidden>) |