Re: Left and Right Aligned Column in NSTableView
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.