I donât get it sorry.
Padding by ten pixels to the left:
| leftMargin aParserButton | leftMargin := Morph new width: 10; hResizing: #shrinkWrap; vResizing: #spaceFill. aParserButton := PluggableButtonMorph on: self getState: nil action: #parse. aParserButton hResizing: #spaceFill; vResizing: #shrinkWrap; label: 'Parse'. AlignmentMorph newRow vResizing: #shrinkWrap; hResizing: #spaceFill; layoutInset: 0; addMorph: aParserButton; addMorph: leftMargin; openInWorld
Regarding this example, AlignmentMorph is a submorph of Morph with a layout policy. you can do the same with bloc. No time now but i will implement this example in my doc.
Mind you, I consider Bloc a very good choice, but I fear that we're not able to stress it enough with hard, very advanced GUIs to ensure we're not loosing power compared to Morphic.
yes, there is a risk, this is why we should progress carefully and not too fast thanks Alain