Re: Sub or superscripts with IB buttons
Re: Sub or superscripts with IB buttons
- Subject: Re: Sub or superscripts with IB buttons
- From: Vince DeMarco <email@hidden>
- Date: Mon, 18 Mar 2002 14:29:40 -0800
On Monday, March 18, 2002, at 01:26 PM, Chad Armstrong wrote:
Is it possible to create text with subscripts or superscripts with the
buttons provided by the Interface Builder. I tried holding down the
Shift+Open Apple and + sign to try and get a superscript, but no luck.
Is this possible, or might I need to just use a button with an image on
it?
Its possible but not in IB, if you want to do this in code you need to
create a NSAttributedString with the text you want, and stuff that in a
button in code.
Don't use an image.
vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.