• 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: IB Button Text - Two Rows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB Button Text - Two Rows?


  • Subject: Re: IB Button Text - Two Rows?
  • From: Scott Thompson <email@hidden>
  • Date: Tue, 27 Jul 2004 17:40:15 -0500

On Jul 27, 2004, at 4:51 PM, w.marty.ray wrote:
I searched the archives, but could not find an answer... Does anyone know how to create a button in Interface Builder that contains two rows of text. If you edit the button text and try to hit 'return' to get a second line of text, IB quits the edit mode. I am writing a control app for some electronic test eqipment that requires descriptive buttons. I would like to use squarish-shaped buttons as opposed to long skinny ones.

Any ideas?

It would appear that the behavior is different between Carbon and Cocoa. Are you trying to create a Carbon Window or a Cocoa Window?


In either case you can double click on the button's text in the window and enter the text you want to show up on the button. Instead of just hitting return between lines, try hitting option-return. That should insert the carriage return character without ending the editing session.

From a quick experiment on my system, however, it seems that a bevel button in Cocoa is happy to show you multiple lines of text while a bevel button in Carbon is not.

Scott
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >IB Button Text - Two Rows? (From: "w.marty.ray" <email@hidden>)

  • Prev by Date: Re: IB Button Text - Two Rows?
  • Next by Date: mini system text in nibs
  • Previous by thread: IB Button Text - Two Rows?
  • Next by thread: Re: IB Button Text - Two Rows?
  • Index(es):
    • Date
    • Thread