<HTML>
<HEAD>
<TITLE>Re: [noob] Making a PasteUpMorph morph fill its container</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14.0px'>Steve:<BR>
I always used the same technic what Matej before, only variation could be embed into Morph first as in:<BR>
<BR>
BigWindow<BR>
“ You wish really big complex scrolling Morphs ? “<BR>
| fondoA t aWindow m p s |<BR>
fondoA := Morph new.<BR>
fondoA extent: 10000 @ 10000.<BR>
fondoA color: Color paleYellow.<BR>
t := TwoWayScrollPane new.<BR>
t scroller addMorph: fondoA.<BR>
aWindow := (SystemWindow labelled: 'Squeak - Mapa de Clases')<BR>
model: nil.<BR>
aWindow<BR>
bounds: (fondoA position - (0 @ aWindow labelHeight + aWindow borderWidth) corner: fondoA bottomRight + aWindow borderWidth).<BR>
aWindow<BR>
addMorph: t<BR>
frame: (0 @ 0 extent: 1 @ 1).<BR>
aWindow color: Color paleOrange.<BR>
aWindow openCenteredInWorld.<BR>
p:= 0@0.<BR>
<BR>
99<BR>
timesRepeat: [m := Morph new.<BR>
m extent: 100 @ 100.<BR>
m position: p.<BR>
p := p + (100 @ 100) asPoint.<BR>
s := StringMorph new.<BR>
s contents: p asString.<BR>
m addMorphCentered: s.<BR>
fondoA addMorph: m].<BR>
^fondoA.<BR>
<BR>
But searching morphic building examples in image , I think you should look at:<BR>
NebraskaServerMorph<BR>
<BR>
Hope this help.<BR>
<BR>
Edgar</SPAN></FONT>
</BODY>
</HTML>