Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resizing for margins #3

Open
JayHoltslander opened this issue May 25, 2015 · 1 comment
Open

Resizing for margins #3

JayHoltslander opened this issue May 25, 2015 · 1 comment

Comments

@JayHoltslander
Copy link

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.

@rorysmyth
Copy link

same issue. would be great to get this working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants