An open API service indexing awesome lists of open source software.

https://github.com/dwilliames/nudge-resize-sketch-plugin

Sketch Plugin to quickly resize a layer with keyboard shortcuts
https://github.com/dwilliames/nudge-resize-sketch-plugin

cocoascript sketch sketch-plugin

Last synced: about 2 months ago
JSON representation

Sketch Plugin to quickly resize a layer with keyboard shortcuts

Awesome Lists containing this project

README

          

# Nudge Resize Sketch Plugin
[![Download from Sketchpacks.com](https://badges.sketchpacks.com/plugins/com.davidwilliames.nudge-resize-sketch-plugin/version.svg)](https://api.sketchpacks.com/v1/plugins/com.davidwilliames.nudge-resize-sketch-plugin/download) [![Compatible Sketch Version](https://badges.sketchpacks.com/plugins/com.davidwilliames.nudge-resize-sketch-plugin/compatibility.svg)](https://sketchpacks.com/DWilliames/nudge-resize-sketch-plugin)






Sketch Plugin to quickly resize the width and height of a layer through easy keyboard shortcuts.

Similar to holding 'alt' whilst resizing with the mouse; 'Nudge Resize' works the same.

## Usage

⌥ alt + = Expand layer size horizontally

⌥ alt + = Condense layer size horizontally

⌥ alt + = Expand layer size vertically

⌥ alt + = Condense layer size vertically

![Expand layer size horizontally](images/gifs/expandHorizontally.gif)
![Condense layer size horizontally](images/gifs/condenseHorizontally.gif)
![Expand layer size vertically](images/gifs/expandVertically.gif)
![Condense layer size vertically](images/gifs/condenseVertically.gif)

**Note: Add ⇧ Shift to increase the nudge size**

![Expand layer size horizontally large](images/gifs/expandHorizontallyLarge.gif)
![Condense layer size horizontally large](images/gifs/condenseHorizontallyLarge.gif)
![Expand layer size vertically large](images/gifs/expandVerticallyLarge.gif)
![Condense layer size vertically large](images/gifs/condenseVerticallyLarge.gif)

The amount the layer resizes by is based on the user's nudge size:

- default = 1
- default large (shift) = 10

This means that if you change your settings with [nudg.it](http://nudg.it), it will respect this preference.

## Why make this plugin?

Currently, you can resize a layer by using 'cmd + arrow' or 'cmd + shift + arrow', but that resizes with a fixed top, and a fixed left side — what about resizing from the centre of the layer. I would often resize a layer with these commands, then move the layer to try and re-centre the layer where it was. This plugin/script is a real time saver — I use it every day without fail.

## Installation

1. [Download](https://github.com/DWilliames/nudge-resize-sketch-plugin/releases/download/v1.0/Nudge.Resize.sketchplugin.zip) the plugin
2. Double-click the file, 'Nudge Resize.sketchplugin'
3. That's it...

## Contribute

This plugin is in active development.

Pull requests are welcome and please submit bugs 🐛.

## Contact

* Follow [@davidwilliames](https://twitter.com/davidwilliames) on Twitter
* Email

[![Twitter Follow](https://img.shields.io/twitter/follow/davidwilliames.svg?style=social&label=Follow)]()

---

If you find this plugin helpful, consider shouting me coffee ☕️ via [PayPal](https://www.paypal.me/dtw/5)