On Dec 13, 2008, at 4:03 PM, Iceberg-Dev wrote:
NSTextFieldCell is flipped. This has an impact on the y value. It
might be the cause of the issue in your case.
This is actually not quite right; the cell doesn't have a flipped
property. The view does, and NSTableView isFlipped==YES. It wo
Although this was not the cause in this particular problem, it will
help with another issue I have in an another class.
Thanks for the info,
Andre Masse
On Dec 13, 2008, at 19:03, Iceberg-Dev wrote:
NSTextFieldCell is flipped. This has an impact on the y value. It
might be the cause of
Right on Patrick!
Thanks a lot,
Andre Masse
On Dec 13, 2008, at 19:26, Patrick Mau wrote:
Hi Andre
It seems you are not using the cellFrame.origin.y when you create
your new frame.
CGFloat y = cellFrame.origin.y + cellFrame.size.height/2.0 - 10.0;
NSRect frame = NSMakeRect
On 13.12.2008, at 23:11, Andre Masse wrote:
Hi,
I want to display a cell like mail's message count in a table view
but with a fixed size and centered on both axes. I've created a
NSTextFieldCell subclass and its doing fine except that it draws in
the first row only, which could mean I'm
On Dec 13, 2008, at 11:11 PM, Andre Masse wrote:
Hi,
I want to display a cell like mail's message count in a table view
but with a fixed size and centered on both axes. I've created a
NSTextFieldCell subclass and its doing fine except that it draws in
the first row only, which could mean
Hi,
I want to display a cell like mail's message count in a table view but
with a fixed size and centered on both axes. I've created a
NSTextFieldCell subclass and its doing fine except that it draws in
the first row only, which could mean I'm drawing at the wrong
coordinates. Obviously,