Re: NSCell Subclass used in NSTableView, what size does the cell have ( must be availaable to the cell )
Re: NSCell Subclass used in NSTableView, what size does the cell have ( must be availaable to the cell )
- Subject: Re: NSCell Subclass used in NSTableView, what size does the cell have ( must be availaable to the cell )
- From: Andreas Mayer <email@hidden>
- Date: Fri, 16 Dec 2005 15:26:14 +0100
Am 16.12.2005 um 15:15 Uhr schrieb devmaillists:
Or ist the a single function in the NSCell Class that returns the
correct frame.
The cell frame is a parameter to the drawing method.
Either
- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
or
- (void)drawInteriorWithFrame:(NSRect)cellFrame inView:(NSView *)
controlView
Do your final layout there.
Andreas
_______________________________________________
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