PEZ / SketchDistributor

Sketch plugin that distributes selected objects vertically or horizontally with a given spacing
MIT License
354 stars 26 forks source link

Request: Saved/Complex Spacing #25

Open dnlswan opened 6 years ago

dnlswan commented 6 years ago

I would really love to see the ability to save the spacing I use per layer or folder similar to margins! It seems like "Distribute again" (CTRL+OPTION+A) remembers the last spacing used and applies that for all layers.

Something like if I wanted more complicated spacing like [layer] -15px> [layer] -30px> [layer] to be saved somewhere like the layer name so it can be edited or applied later if I changed the sizes of layers later. This would save so much time in my workflow! :D

PEZ commented 6 years ago

Can you describe a bit further? I'm not sure I am getting it right.

dnlswan commented 6 years ago

I'm sorry, I hope I can clarify what I mean! What comes to mind when I think about it is behavior similar to Sketch Modulizer where I can save a value like "padding" somewhere (like a layer/group name/etc) and then reapply it if I changed something with a shortcut!

A small scale case I would use this for is if I had a header, paragraph, and image.

complex spacing example

PEZ commented 6 years ago

I might still be missing something here, but it seems like Modularizer already helps with that?

dnlswan commented 6 years ago

Modulizer only creates padding for a group, like for text in a button! Whereas, Distributor has been great for setting margins, like the spacing between groups. The image above is not from using Modulizer, I was just hoping to show an example of margins being the same after the height or width of a layer changed. I think If I could save different distributor margins for layers and groups, and apply all of them with a shortcut that would be a real time-saver. If I'm still being really bad at explaining it, I'm sorry! It's not something I'd want to worry you over. I just thought it would be something I'd find very useful to compliment Distributor!