Hi! Maybe it is already solved. But just for sure: This peace of code will does not work properly. By default resizeStrategy is a singleton, which is shared by all the elements in the image. There should be at least #copy.
removeMarginFor: elements "Assume that elements is not nil, and that all the elements have
the same parent"
elements do: [ :e | e allElementsDo: [ :ee | ee resizeStrategy: (e
resizeStrategy paddingGap: 0) ] ]
Cheers, Jura