• 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: Setting multi line Text to Radio button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting multi line Text to Radio button


  • Subject: Re: Setting multi line Text to Radio button
  • From: Paul M <email@hidden>
  • Date: Sat, 22 Aug 2009 20:25:03 +1200

Some extra newlines preceeding your title should make it _look_ like your screenshot (for odd numbers of lines in the lable, anyway), but it still wont work quite the same, as there will be a clickable area above your lable. (if that makes sense).
I dont know how that'll affect the spacing between the other buttons in the set tho ...



paulm


On 22/08/2009, at 7:38 PM, Andy Lee wrote:

On Friday, August 21, 2009, at 12:17PM, "Jerry Krinock" <email@hidden> wrote:

On 2009 Aug 21, at 06:39, Vijay Kanse wrote:

I want my radio buttons to have multi line text

I've found this to be one of those things that "just doesn't work". Set the title to an empty string, and display the title in an adjoining text field ("Multi-line Label" from the Library) instead.

You can enter a multi-line title in IB by typing Option-Return instead of Return, but it won't look like your screenshot because the circle icon is centered vertically in the cell.


Note that if you use the adjacent text field, it will work slightly differently than a normal radio button, because normally you can click anywhere on the title to select a radio button. Of course, you can make it work like that with a little more code. Just thought I'd point it out in case it matters to you.

I get the feeling that someone in Apple's Human Interface Police
doesn't like multi-line radio button titles.

Yeah, that sounds about right.

--Andy

_______________________________________________

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


_______________________________________________

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


References: 
 >Re: Setting multi line Text to Radio button (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Bindings & Reverting Properties
  • Next by Date: Syntax Coloring?
  • Previous by thread: Re: Setting multi line Text to Radio button
  • Next by thread: persistentDomainNames
  • Index(es):
    • Date
    • Thread