Mailing Lists: Apple Mailing Lists

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

Drawer Content sizing.



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




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.