On Feb 4, 2010, at 3:13 PM, Hank Heijink (Mailinglists) wrote: > On Feb 4, 2010, at 2:51 PM, Eric Gorr wrote: > >> When I am resizing my window, I have a delegate method >> windowWillResize:toSize: which is being called. What I am finding odd is >> that the width of the size being passed in will never go below 64 pixels >> even if the width for contentMinSize and minSize is less then 64 pixels. I >> can easily force the window to be less then 64 pixels. >> >> So, does anyone know where this 64 pixels limit is coming from? > > Measure from the left edge of the window to the rightmost edge of the > maximize button: 64 pixels. I doubt you can adjust it, but who knows - maybe > if you get rid of the title bar?
I suspect you are correct. Unfortunately, I cannot get rid of the title bar. So, the question becomes how to work around this...? Can one override the 64 pixel limit? One workaround I will be experimenting with in a second is to get the global location of the cursor and the window being resized to determine what the user is really trying to resize the window to since I cannot trust what windowWillResize is telling me. _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
