• 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: Left and Right Aligned Column in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Left and Right Aligned Column in NSTableView


  • Subject: Re: Left and Right Aligned Column in NSTableView
  • From: Jonathan Wight <email@hidden>
  • Date: Mon, 15 Dec 2003 00:32:17 -0600

You should be able to do it by providing your own
NSTextCell/NSActionTextCell subclass and overriding
"drawInteriorWithFrame:inView:". Perhaps. ;-)

Jon.

On Dec 15, 2003, at 00:07, Paul G. Fitzgerald wrote:

> Jon,
>
> If the "Date Received" column in Mail.app is sufficiently widened, the
> Date is left aligned, and the time is right aligned. I'd like to do
> the same thing with my date column.
>
> I'm guessing it's not going to be easy... :-)
>
> Paul
>
> On Dec 14, 2003, at 11:53 PM, Jonathan Wight wrote:
>
>> Hi Paul,
>>
>> What exactly are you trying to accomplish. The "Date Received" column
>> in Mail.app looks just like any other column to me...
>>
>> Jon.
>>
>> On Dec 14, 2003, at 16:01, Paul G. Fitzgerald wrote:
>>
>>> I've got a column in an NSTableView that needs to behave like the
>>> "Date Received" column in Apple's Mail. I've tried adding a right
>>> tab to an NSAttributedString, but it's not working. Am I even on the
>>> right track?
>>>
>>> Thanks,
>>>
>>> Paul G. Fitzgerald
>>> _______________________________________________
>>> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

  • Follow-Ups:
    • Re: Left and Right Aligned Column in NSTableView
      • From: Jonathan Wight <email@hidden>
References: 
 >Left and Right Aligned Column in NSTableView (From: "Paul G. Fitzgerald" <email@hidden>)
 >Re: Left and Right Aligned Column in NSTableView (From: Jonathan Wight <email@hidden>)
 >Re: Left and Right Aligned Column in NSTableView (From: "Paul G. Fitzgerald" <email@hidden>)

  • Prev by Date: Re: Left and Right Aligned Column in NSTableView
  • Next by Date: Drag & Drop on in a NSMatrix
  • Previous by thread: Re: Left and Right Aligned Column in NSTableView
  • Next by thread: Re: Left and Right Aligned Column in NSTableView
  • Index(es):
    • Date
    • Thread