How to get multiple line label in PluggableButtonMorph?

Bob Arning arning at charm.net
Sat Feb 24 19:45:00 UTC 2001


On Sat, 24 Feb 2001 11:34:04 -0800 Ned Konz <ned at bike-nomad.com> wrote:
>I'm trying to get a multiple line label in a PluggableButtonMorph?
>
>I've tried passing in a TextMorph as the label, and this displays correctly, 
>but it is editable (and I can't figure out how to make it not editable).

Ned,

Lock it.

(PluggableButtonMorph on: #(1 2 3) getState: nil action: #inspect)
	label: (TextMorph new contents: 'This is a 
multi line label'; lock);
openInWorld

Cheers,
Bob





More information about the Squeak-dev mailing list