[squeak-dev] Where's the border?

Trygve Reenskaug trygver at ifi.uio.no
Fri Oct 3 15:55:02 UTC 2008


Two simple examples executed in a Workspace:

| butt |
butt := StringMorph contents: 'Play'.
butt borderWidth: 5; borderColor: Color red.
butt openInWorld

| butt |
butt := Morph new.
butt borderWidth: 5; borderColor: Color red.
butt openInWorld

Plain Morph displays border as expected.
The StringMorph has no border! (Inspecting it, I find that its extension 
has a SimpleBorder, width = 5 and color = red. Yet it doesn't show)

What's happening?

(Squeak Squeak3.10.gamma.7159.image)

And I thought I was beginning to understand Morphic :-(
--Trygve

-- 

Trygve Reenskaug       mailto: trygver at ifi.uio.no

Morgedalsvn. 5A         http://heim.ifi.uio.no/~trygver

N-0378 Oslo               Tel: (+47) 22 49 57 27

Norway

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20081003/3163cf66/attachment.htm


More information about the Squeak-dev mailing list