Responsive Design in Sketch — Part 1

What is new in the group resizing feature.

Shortly Group Resizing Feature

Before coming to changes, I want to explain the group resizing feature for the beginners quickly.

What Has Changed?

In terms of capability, there is not much change that would make significant difference in the output. Now we have more contol over the details like pinning the layer to whatever sides you want. In the other hand, the controls might look less clear to first-time users, especially when setting up for floating and stretching modes; but no worries, figuring it out is easy!

A Rich Example Covering Most of the Possibilities

Download the Examples

Here the Sketch file containing the examples presented in this article.

Tips & Tricks

1. Quickly Pin to All Sides

2. Resetting Group Resizing Settings

3. How to Resize Groups That Contain Text

For text changes that causes vertical growth, you can use mathematical input feature of Sketch and the line-height value of the label. Just select the group and change the height to 241 + 24 * 2 and press enter. 241 is the current height, 24 is the line-height and 2 is the new line count — yes you need to count! Sketch would calculate the result and set the group’s height to correct value.

4. Exploring “Auto Layer Aligning” Feature in Symbols

There is a small additional responsive design feature in symbols to make resizing symbol instances easier. When you overwrite a text in a symbol instance, Sketch moves any of the layers located near that text layer automatically.

Criticism

It has been almost a year since the group resizing feature was introduced. It was right and necessary move. But this update is how it was supposed to be in the first place. So I was expecting a major improvement instead of just making it right but not adding very required features like: stacking, auto-resizing, layer-to-layer constraints, grids and layouts.

What is Next?

In the next part of this article I will cover Anima’s Auto-layout plugin. It has more features and also it looks more usable. You can use them together too, so I will explain things in detail and leave the choice to you.

Design + Sketch

The best collection of articles, tips, tutorials, and stories on designing and prototyping with Sketch and beyond

Emin Inanc Unlu

Written by

Product designer and prototype developer. Likes traveling, nature, photography and sharing — www.emin.space

Design + Sketch

The best collection of articles, tips, tutorials, and stories on designing and prototyping with Sketch and beyond