dynamic-reposition icon indicating copy to clipboard operation
dynamic-reposition copied to clipboard

Resizing for margins

Open JayHoltslander opened this issue 9 years ago • 1 comments

By setting properties for both top and bottom or/and left and right the object will be stretched out to keep the right distance to the background.

This does not seem to be the case when I tested with Sketch 3.3.2.

Layer (rectangle) was named t:10:r:10:b:10:l:10 Was grouped and over top of another larger rectangle (named "background"). Running the plugin resulted in a top and left margin of 10px but did not stretch the smaller rectangle out to ensure bottom or right margins.

ie: It's repositioning according to two values, rather than repositioning + resizing according to four values.

JayHoltslander avatar May 25 '15 07:05 JayHoltslander

same issue. would be great to get this working

rorysmyth avatar Aug 13 '15 14:08 rorysmyth