Re: question about frame and bounds
Re: question about frame and bounds
- Subject: Re: question about frame and bounds
- From: j o a r <email@hidden>
- Date: Sun, 19 Oct 2003 19:49:35 +0200
On 2003-10-19, at 19.28, Ivan Kourtev wrote:
2003-10-19 12:03:38.108 V[3441] separator:frame = (2.000000, 2.000000,
665.000000, 1.000000)
2003-10-19 12:03:38.108 V[3441] separator:bounds = (0.000000,
0.000000, 665.000000, 1.000000)
Isn't there something wrong with this output? As I understand it
No, it looks fine. What it tells you is that the view is positioned at
x=2, y=2 in the superview coordinate system. The size of the view is
w=665, h=1. Per default the bounds of the view is originated at x=0,
y=0 and with the same width and height as the view. So everything seems
to be fine and dandy.
Notice that a separator line is a "flat" NSBox. It's not a separate
class of it's own.
j o a r
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.