• 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: add small (control size) column to table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add small (control size) column to table view


  • Subject: Re: add small (control size) column to table view
  • From: Scott Ribe <email@hidden>
  • Date: Sun, 16 May 2010 13:22:28 -0600

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
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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

References: 
 >add small (control size) column to table view (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: drawing into a hidden view
  • Next by Date: UI blocking
  • Previous by thread: add small (control size) column to table view
  • Next by thread: Objective-C / Cocoa dev position in Chicago area
  • Index(es):
    • Date
    • Thread