Drawers and Interface Builder
Drawers and Interface Builder
- Subject: Drawers and Interface Builder
- From: Jeff Laing <email@hidden>
- Date: Thu, 30 Jun 2005 16:15:01 +1000
After spending weeks of on-and-off effort at setting up a drawer in
Interface Builder, I finally spotted this:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/IBTips/Ar
ticles/FreqAskedQuests.html
which contains the zinger:
-------------------
Q. Why does my bottom or top drawer size itself improperly?
A. There is a known problem in the underlying NSDrawer implementation that
adversely affects proper drawer size calculations. Specifically, when a
drawer's preferred edge is left or right, the leading and trailing offsets
are used to automatically calculate the height of the drawer. When a
drawer's preferred edge is top or bottom, the leading and trailing offsets
should be used to automatically calculate the width of the drawer. However,
these values are incorrectly applied to the height.
-------------------
which left me waiting for the other shoe to drop. And... ? How do I work
around it?
As I say, I've spent way more time on this than I should have - I've just
ignored the fact that it seemed to position the drawer content at the wrong
point inside the drawer. I've ignored the fact that the content shuffled up
and down when you disclose a toolbar attached to the window.
But finally I decided: stop working on the real logic, and go make that easy
user interface stuff right. Except that the above suggests that its just
not possible.
How has everyone else built their drawer-based apps? With code?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden