Co-ordinate systems
Co-ordinate systems
- Subject: Co-ordinate systems
- From: Thomas Davie <email@hidden>
- Date: Sat, 29 Jul 2006 17:10:42 +0100
Hi,
I'm having trouble with some co-ordinate system stuff.
Basically, I only know how big my view is, once I've already
positioned everything in it. I create a series of subviews at
different vertical positions, and once I've finished, I know the
total height they take up and set the view height accordingly. The
problem is, the coordinate system appears to be based at the bottom
left of the view, meaning that if I take this approach everything
comes out upside down.
The obvious solution is to simply suptract my calculated position
from the height of the view, but that's obviously not possible
because I don't know the height until I've positioned everything.
Anyone got any ideas?
Bob
_______________________________________________
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