MultiStyleWorkspace
X
M

<lively.morphic.Box#79E9E...>
// 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()
this instanceof lively.morphic.Button

remove labels
each do it
0 Path Class x y width heigth scale FillCSS BorderCSS TextCSS 1 Button11 Button 20 0 100 22 1 true true 2 ScriptableButton Button 10 10 110 22 1 true true 3 ToggleButton3 Button 40 90 70 22 1 true true 4 LazyToggleButton Button 20 50 160 22 1 true true