• 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: Multiline label allignment issue.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Multiline label allignment issue.
      • From: Graham Cox <email@hidden>
References: 
 >Multiline label allignment issue. (From: Arun <email@hidden>)
 >Re: Multiline label allignment issue. (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: building and running on Snow Leopard
  • Next by Date: Re: Multiline label allignment issue.
  • Previous by thread: Re: Multiline label allignment issue.
  • Next by thread: Re: Multiline label allignment issue.
  • Index(es):
    • Date
    • Thread