• 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: Cell Size Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cell Size Problem


  • Subject: Re: Cell Size Problem
  • From: Douglas Davidson <email@hidden>
  • Date: Fri, 19 Dec 2003 12:27:04 -0800

On Dec 19, 2003, at 10:13 AM, Karl Goiser wrote:

This seems to work fine - except - that if I take something that would wrap to 2 lines in the above way, there is about a 5 pixel width where the above code says that there should be 2 lines, but when drawing it, it only draws on 1 line leaving a whole line empty:

Probably because NSCell drawing uses a lineFragmentPadding of 2 (or 4 for centered cells) where string drawing uses 0.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Cell Size Problem
      • From: Karl Goiser <email@hidden>
References: 
 >Cell Size Problem (From: Karl Goiser <email@hidden>)

  • Prev by Date: Re: Desktop Pictures engine suggestion?
  • Next by Date: IB: can't connect outlet
  • Previous by thread: Cell Size Problem
  • Next by thread: Re: Cell Size Problem
  • Index(es):
    • Date
    • Thread