[Q][morphic] TextMorph with raised border - no way
Ned Konz
ned at bike-nomad.com
Thu Mar 28 21:49:34 UTC 2002
On Thursday 28 March 2002 12:19 pm, Martin Drautzburg wrote:
> If I just set the borderStyle to raised, then the colors are pulled
> from the Morph's *text* color (black) and not from its background
> color. I can set the borderColor manually and it obeys, but the border
> is flat then.
t _ TextMorph new contentsAsIs: 'Murph!'.
t borderStyle: (BorderStyle complexAltRaised width: 6; baseColor: Color
magenta lighter).
t margins: 5 at 5; backgroundColor: Color blue lighter; textColor: Color green
lighter.
t openInWorld.
--
Ned Konz
currently: Stanwood, WA
email: ned at bike-nomad.com
homepage: http://bike-nomad.com
More information about the Squeak-dev
mailing list
|