Re: nsmatrix (newbie)
Re: nsmatrix (newbie)
- Subject: Re: nsmatrix (newbie)
- From: Rudi Sherry <email@hidden>
- Date: Tue, 22 Feb 2005 08:26:31 -0800
For more control over the fonts and sizes you could use
setAttributedTitle: instead of setTitle: -- see the documentation on
NSAttributedString.
On Feb 20, 2005, at 12:34 AM, daniel wrote:
Can you just iterate through the cells (cellAtRow:column:) and call
setTitle: on the (presumably) NSButtonCell objects contained in the
matrix?
On Feb 19, 2005, at 8:24 PM, Daniel Child wrote:
Hi All,
I have set up a matrix of round buttons in a drawer and would like to
populate the titles (and font and sizes) for the round buttons
programmatically (they would be unicode characters). Is there a way
to do this?
I looked at the matrix documentation, but there are no tutorials, so
I am a little lost on what the setup should be. Should I create a new
controller to handle just this feature (all the buttons in the
matrix), or is there some simple solution I am missing.
Obviously, I could type into the title for each button, but the key
is to be able to change what the title is, and to do that
programmatically.
Thanks in advance!
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden