Macintosh Development Notes

Assorted notes related to programming the Macintosh (mainly with Cocoa) which may be of interest.

5/6/2004, Interface Builder 2.4 (v349):

I have come across a bug in Interface Builder which prevents you from changing the content width or content height of an NSDrawer after the initial calculation is made. The size of the DrawerView doesn't seem to matter. The initial width/height is a calculated value based on the width/height of the parent window of the drawer. If you later change the parent window's width/height, the corresponding drawer's width/height may not change as expected.



The greyed out value in the screenshot above is supposed to be calculated, but it doesn't always update correctly. To get around this bug, simply set the other value to zero and this will force Interface Builder to update the calculated value.


email me

home
Hosted by www.Geocities.ws

1