• 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: Programatically Set Data Cell Alignment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically Set Data Cell Alignment


  • Subject: Re: Programatically Set Data Cell Alignment
  • From: SA Dev <email@hidden>
  • Date: Fri, 17 Jun 2005 06:32:36 -0400


Ask the table column for its -cell and tell *that* to -setAlignment:



On Jun 16, 2005, at 11:05 PM, Austin Sarner wrote:

Thanks for the response, but that method is for setting the alignment of the text within the cell, not the alignment of the cell within the table column.
Any ideas?


Thanks
--------------------
Austin Sarner

Neometric Software (http://neometricsw.com)

On Jun 16, 2005, at 9:58 PM, Jam Chen wrote:

Try [NSCell setAlignment:] since NSButtonCell inherit from NSCell
HTH,
James


-----Original Message-----
From: cocoa-dev-bounces+jamchen=email@hidden
[mailto:cocoa-dev-bounces+jamchen=email@hidden] On Behalf Of
Austin Sarner
Sent: Friday, June 17, 2005 5:17 AM
To: Cocoa-dev
Subject: Programatically Set Data Cell Alignment


Hello,

I have an NSButtonCell that I create programmatically which I put in an
NSTableColumn (which I also create programatically). In IB, it is possible
to have a column align its data cells, but I have found no way to do this
programatically. Any assistance would be much appreciated.


Regards,
Austin Sarner
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40ulead.com.tw


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40silentalcove.net


This email sent to email@hidden

_______________________________________________ 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
References: 
 >RE: Programatically Set Data Cell Alignment (From: "Jam Chen" <email@hidden>)
 >Re: Programatically Set Data Cell Alignment (From: Austin Sarner <email@hidden>)

  • Prev by Date: Re: Cut copy paste without menu.
  • Next by Date: NSPersistentDocument, Core Data & Cryptation
  • Previous by thread: Re: Programatically Set Data Cell Alignment
  • Next by thread: Programatically edit table view column vs. editable binding
  • Index(es):
    • Date
    • Thread