Re: Multiline label allignment issue.
Re: Multiline label allignment issue.
- Subject: Re: Multiline label allignment issue.
- From: Arun <email@hidden>
- Date: Wed, 23 Sep 2009 21:08:09 +0530
Thanks a lot...
I was thinking of using a Square button (NSButton) instead of the
multi-line label with no borders.
But to my suprise when i set its title which goes beyond the width of
the box, eventhough i had set the word wrapping in IB, it does not
wrap. i am wrong in word wrap setting understanding of Square button?
-Arun
On Wed, Sep 23, 2009 at 9:01 PM, Graham Cox <email@hidden> wrote:
>
> On 24/09/2009, at 1:23 AM, Arun wrote:
>
>> Is there any way in which while displaying 1 liner, i can
>> position the starting of the label at the center of the label?
>
>
> Not out of the box, no. I wish this were supported...
>
> You need to handle this yourself by subclassing the cell. Google for
> 'RSVerticallyCenteredTextFieldCell' to get you started.
>
> --Graham
>
>
>
_______________________________________________
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