Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
- Subject: Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
- From: Seth Willits <email@hidden>
- Date: Sun, 16 May 2010 01:27:21 -0700
On May 15, 2010, at 7:17 PM, Shane wrote:
> This is a data table header cell of type NSPopUpButtonCell where I'm
> trying to draw the bottom border of the cell.
>
> The problem is that the border along the bottom of each
> NSPopUpButtonCell only extends across part of the cell, not the entire
> length of the cell.
>
> The docs say about the cellFrame "The bounding rectangle of the
> receiver, or a portion of the bounding rectangle". And I'm certainly
> only seeing a portion of the cells frame being drawn.
>
>
> Am I doing this wrong?
Well I don't know what you're seeing exactly, but the cells in a table view are spaced out.
- (void)setIntercellSpacing:(NSSize)aSize
The default intercell spacing is (3.0, 2.0).
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden