<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Hi,<br></div><div><br></div><div>Shouldn't this code produce a morph with a green and red box inside the gray box at the gray box's top edge? And the red and green box should have a height 10% of the gray box's height? Every other direction works that way. <br></div><div><br></div><div>Or I don't understand something fundamental about laying out morphs. The furthermost Workspace's morph looks wrong to me.<br></div><blockquote type="cite"><div>la1 := LayoutMorph newColumn .<br></div><div>la2 := BoxedMorph new layoutSpec: (LayoutSpec proportionalHeight: 0.1) :: color: Color green.<br></div><div>la3 := BoxedMorph new layoutSpec: (LayoutSpec proportionalHeight: 0.1) :: color: Color red.<br></div><div>la1 addMorph: la2.<br></div><div>la1 addMorph: la3.<br></div><div>la1 openInWorld. <br></div></blockquote><div class="align-center" style="position:relative;margin-top:1em;margin-right:0px;margin-bottom:1em;margin-left:0px;text-align:center;"><img style="max-width:100%;height:auto;" src="cid:16912461244590.3488517159333204@content.messagingengine.com"><br></div><div>Regards,<br></div><div>Szabolcs<br></div></body></html>