• 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: tablecolumn cell alignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tablecolumn cell alignment


  • Subject: Re: tablecolumn cell alignment
  • From: Mark Munz <email@hidden>
  • Date: Wed, 5 May 2004 15:02:53 -0600

Put something like this in your awakFromNib method

NSTableColumn *tColumn;
id tPrototypeCell;

tColumn=[myTable tableColumnWithIdentifier:@"myid"];
tPrototypeCell=[tColumn dataCell];
[tPrototypeCell setImagePosition:NSImageOnly];

I found this by digging through the archives. This will center your checkbox.

Mark Munz

On May 5, 2004, at 2:15 PM, email@hidden wrote:

greetings,

I have a column with checkboxes in it, i can't seem to locate anything in the archives pertaining to aligning them does anyone have a suggestion on were to look?
_______________________________________________
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.
_______________________________________________
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.


References: 
 >tablecolumn cell alignment (From: email@hidden)

  • Prev by Date: tablecolumn cell alignment
  • Next by Date: Re: Cut/Copy/Paste in NSTextField controls
  • Previous by thread: tablecolumn cell alignment
  • Next by thread: Re: The Cell from Hell (TM)
  • Index(es):
    • Date
    • Thread