• 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: Changing Cell Size in at TableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing Cell Size in at TableView?


  • Subject: Re: Changing Cell Size in at TableView?
  • From: j o a r <email@hidden>
  • Date: Fri, 16 Jul 2004 14:37:22 +0200

On 2004-07-16, at 14.15, Andreas Mayer wrote:

> [self setRowHeight:[currentFont boundingRectForFont].size.height]];

I don't think that's a good solution. If I try to set Lucida Grande 13,
I get this:

defaultLineHeightForFont: 16.00
boundingRectForFont: 25.21

16 px seems reasonable, while 25 px seems way to much. I don't think
that the problem is the actual height so much as the positioning of the
text in the cell. For some reason the text is not positioned high
enough in the cell when you change the font size and row height as has
been outlined in this thread.

j o a r

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Changing Cell Size in at TableView?
      • From: Andreas Mayer <email@hidden>
References: 
 >Changing Cell Size in at TableView? (From: Jerry LeVan <email@hidden>)
 >Re: Changing Cell Size in at TableView? (From: Jeremy Dronfield <email@hidden>)
 >Re: Changing Cell Size in at TableView? (From: Jerry LeVan <email@hidden>)
 >Re: Changing Cell Size in at TableView? (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: changing fonts?
  • Next by Date: Re: programmatically accessing a web form?
  • Previous by thread: Re: Changing Cell Size in at TableView?
  • Next by thread: Re: Changing Cell Size in at TableView?
  • Index(es):
    • Date
    • Thread