Re: IB Button Text - Two Rows?
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.