lucaorio / sketch-resize Goto Github PK
View Code? Open in Web Editor NEWResize (not scale) multiple layers at once via shortcut.
License: MIT License
Resize (not scale) multiple layers at once via shortcut.
License: MIT License
This plugin would be really useful if it could use the object's current width or height as a wildcard for math operations.
Let's say I have 3 rectangles with the dimensions:
32x32, 64x32, 128x32.
I want to make them all 32 pixels wider. So in the width field:
Width = '%w+32'
and would get:
64x32, 96x32, 160x32.
Or, I could use the width value in the height field to get proportioned objects:
Height = '%w*9/16'
and would get:
32x18, 64x36, 128x72
That'd be awesome, right?
Ciao Luca,awesome job with the plugin. Kudos to you.
I was wondering if it's possible in a next release to have the resizing anchoring point support.
Currently using the Sketch UI I'm able to set the anchor point from which the resizing action propagates by just adding one of the following t=Top, b= Bottom, l=:Left ,r=Right.
Add %w+8r will add 8 new pixels on the lefthand side of the object keeping the right point anchored (hence the R)
Is this something you'd consider?
The plugin doesn't open when the resize command is given.
Sketch 74.1
macOS 11.5.1
sketch-resize 2.1.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.