Re: Bug in Interface Builder concerning Drawers at the Bottom
Re: Bug in Interface Builder concerning Drawers at the Bottom
- Subject: Re: Bug in Interface Builder concerning Drawers at the Bottom
- From: Vince DeMarco <email@hidden>
- Date: Mon, 5 Nov 2001 13:24:06 -0800
On Monday, November 5, 2001, at 11:09 am, Florian G. Pflug wrote:
Hi
I think I found a Bug in IB when creating a Drawer at the bottom of a
Window.
I have a window with both a drawer at the right, and (an other) drawer at
the bottom.
The drawer at the right works fine, but setting the "Attributes" (size of
the drawer, size of the content view) for the drawer at the bottom seems
to
be broken.
IB correctly greys out "with" when setting the drawer to "bottom" (because
then the with of the drawer is the same as the with of the window). But it
still won't le me enter "50" as the "height". The field "height" is
enterable, but as soon as I leave if, the value changes back to a value IB
seems to (incorrectly) calculate.
When switching a few times between "bottom" and "left" (and each time
entering some random values in "with" or "height") I can change the value
"height" will revert to, but to with value it changes seems to be random.
Is this a know but, and if, is there any workaround known, or is there an
updated version of IB?
This is a known bug and we fixed it in IB. the workaround is to so what IB
does for you in Code.
Set the width/height of the drawer in code
create an outlet to the drawer and in the awakeFromNib method set the
width/height as appropriate.
vince