On May 14, 2010, at 5:35 PM, Scott Ribe wrote:

> I'm dynamically setting up columns in a table view, and I cannot get them set 
> up to display as NSSmallControlsSize. I try:
> 
>               [[col dataCell] setControlSize: NSSmallControlSize];
> 
> Immediately before and immediately after [resultsTbl addTableColumn:...], but 
> it doesn't affect the text size. The table cells draw as regular size.


Turns out setControlSize just doesn't do what I expected on the text cell. Use 
of setFont is required instead.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to