Re: Change text size in NSTables
Re: Change text size in NSTables
- Subject: Re: Change text size in NSTables
- From: "I. Savant" <email@hidden>
- Date: Fri, 7 Apr 2006 08:35:35 -0400
On Apr 7, 2006, at 1:54 AM, Jonathan wrote:
But it seemed to direct me to how to change to a different font,
and to the
row height, but not to just change the size of the font being used.
Wouldn't this indicate to you, then, that the size is an attribute
of the font? Read the documentation on NSFont. It seems to me that
all your questions could be answered if you'd dig just a little bit
deeper. We all have to do it and there's no getting around it.
You'll have to hand the table view a new font. You can first get
the table's original font instance and modify its size and pass it
back to the table. Or you can just create a brand new font instance
of the specified size and hand it to the table.
Also, for a better overview of fonts, the Font Handling
documentation (which is referenced by NSFont's documentation would do
you worlds of good here:
http://developer.apple.com/documentation/Cocoa/Conceptual/
FontHandling/index.html
--
I.S.
_______________________________________________
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