Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawer Content sizing.



I just tried this with the latest IB 2.0.1 and got some different problems.

My drawer came up much wider than 250, but no matter what I chose as my
width, it didn't change when I tested it.

Brendan said he had luck with setContentSize: each time the drawer is
opened. Sounds like some of us are having different experiences with it,
but none of them consistent. Sounds like a bug to me.

Scott
------
"...there's no such thing as a plain name..."
http://www.domainjane.com



On 5/28/01 9:40 PM, "Mark Slater" <email@hidden> wrote:

> This may have been discussed before, because as far as I can see, it's a
> bug in Interface Builder and/or Cocoa.
>
> I have created a window with a drawer in IB. I've set the Drawer's
> Minimum Content Size to Width 250, and Height 365. However, when the
> drawer opens, the content size is only 200 pixels and some of my
> controls get cut off. When I try to manipulate the sizes directly, the
> view gets distorted (stretched and/or squeezed), and I can't get the
> drawer content size to be consistent with the view's bounds.size, even
> when they've been set using the same source variable.
>
> OmniWeb and Mail both use drawers, and seem to do so without problems.
> Maybe they're content to let the minimum size stay at the default 200,
> but I can't do that since some of my controls get covered.
>
> Any suggestions on how to get around this would be great. If it's a bug,
> then I'll just leave it and assume that it will be fixed at some point
> in the next few months (the app is for myself... although I may post it
> when it does something useful).
>
> Thanks!
> Mark
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Drawer Content sizing. (From: Mark Slater <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.