// this.showLabel(this.morph.name)
// + "\n" + this.morph.getPosition()
this.morph.setBorderStylingMode(true)
this.morph.setAppearanceStylingMode(true)
this.morph.setExtent(this.snapX(this.morph.getExtent().withY(22),10))
this.morph.setScale(1)
var p = this.morph.getPosition()
p = this.snapY(p,10)
p = this.snapX(p,10)
this.morph.setPosition(p)
// poor mens iterative constraints... to be executed in a cycle?
var left = this.myLeft(this.morph)
if (left) {
var distanceToLeft = this.morph.bounds().left() - left.bounds().right()
if (distanceToLeft > 10 && distanceToLeft< 100)
this.morph.moveBy(pt(-10,0))
if (distanceToLeft < 10 )
this.morph.moveBy(pt(+10,0))
}
// this.morph.setExtent(this.morph.getExtent().withY(22))
//this.morph.setExtent(pt(this.morph.getExtent().x, 22))
// this.morph.label.getExtent()