• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
      • From: Shane <email@hidden>
References: 
 >drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView: (From: Shane <email@hidden>)

  • Prev by Date: Re: Framework linking errors
  • Next by Date: Why I can't see my localized nib?
  • Previous by thread: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
  • Next by thread: Re: drawing border of NSPopUpButtonCell drawInteriorWithFrame:inView:
  • Index(es):
    • Date
    • Thread