Sizing NSMatrix
Sizing NSMatrix
- Subject: Sizing NSMatrix
- From: Herbert Putteneers <email@hidden>
- Date: Tue, 20 Dec 2005 16:24:48 +0100
How can you make an NSMatrix fit exactly within certain bounds.
Apparently the cellwidth the matrix calculates can not be fractional.
When you create a 5x4 matrix, x- and y-spacing 0, then you can set
its width to 145; the leftmost cell border is at x = 0 and the
rightmost cell has the right border at 145. Increase the width to 146
and the right border stays put, leaving a 1 point gap. This continues
until you reach a width of 150. 5 Columns, multiples of 5? It looks
like NSMatrix is not using a fraction in its calculation.
Is there any way around this?
Thanks,
Herbert Putteneers
_______________________________________________
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