Grow Bug ?
Grow Bug ?
- Subject: Grow Bug ?
- From: Carlos Eduardo Mello <email@hidden>
- Date: Sun, 16 Nov 2008 20:32:33 -0200
Hi,
Cocoa newbie here. I've been doing Carbon developing for a while,
but just started to learn Cocoa.
So, forgive me if my questions seem too dum.
I was working on Hillgass's Custom Views tutorial (chapter 17, pg.
233). It involves drawing into a custom view which grows with the
window. Everything works as expected. However, when the user moves
the grow box towards the title bar, if the window vertical dimension
goes under the window/view margin size, and then grows again, the top
margin gets smaller. If the window size is shrunk to 0 and back, the
top margin disapears. And if the user releases the grow box when the
vertical dimension is 0, it becomes impossible to grow the window
back again. [10.5]
Is this a know bug?
Is it just something that needs more work on my side in order to
function properly?
Maybe It needs some code to control the min/max window sizes?
P.S.: Obviously, I understand that these little apps we make with the
help of Hillgass's Book (Great Book, by the way!) are just there to
demonstrate some general principle or technique. Still, as I am
going to be creating a lot of custom views in my app, I wanted to
make sure I am stepping in solid ground from the start. It would be
terrible to build a lot of functionality only to be frustated by a
basic bug later on...
Carlos Eduardo.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden