Resizing artboard is stretching content on Mac

Hi. I’ve just installed 2025.1. Selecting an artboard then dragging the bottom of it would previously increase the size of the height of the artboard but keep the content on the artbaord in place. Now when I do it, it stretches out all the content on the artboard too. I can’t see how to prevent it. I need some help with this please.

3 Likes

Hello! :waving_hand:

You can resize frames without changing their contents by:

  • Pressing while you resize your frame
  • You can also press Enter to enter Edit mode and resize your frame there.

Let us know if this helps!

1 Like

That did the job. Thanks! :slight_smile:

1 Like

Alternatively, set all of the frame’s children to a width/height other than Relative. If you select the frame and hit Enter, it’ll select all the children, then you can easily change in the inspector.

The same thing happends when updating the artboard size via the dimensions settings on the top right. Is there any way to change the artboard dimension from there without stretching the content?

Yes. Enter Edit mode on the frame with ⌘⏎ or Layer > Edit or the Edit button in the toolbar. If in edit mode, any way you resize will only adjust the frame‘s bounds, and leave the content untouched.

Thank you, this was driving me mad!

1 Like

Thank you - This was driving me insane! I personally think resizing the frame should not need a short cut.

1 Like

Hi @lalaprojects,

Welcome to the Forum! You can resize a frame without shortcuts. The result will depend on the settings applied to the layers inside the frame:

  1. Relative width or height will make the layer resize with the parent
  2. Pinnings also affect layer position and can affect dimensions when you resize the parent frame

When we shipped the first Athens version, layers were imported with Relative width and height; which could cause layers to move or stretch unexpectedly when resizing the frame.

The latest version, 2025.1.3, changes this. Layers are now imported as Fixed width and height, unless the option “Adjust contents on resize” was enabled on artboards created in previous Sketch versions (101.9 and earlier).

This new import setting applies for documents you first open with the latest version. For documents you’ve already edited, there’s a plugin (I mentioned it on the email I just sent as well) but I’m leaving the download URL here for convenience: skt.ch/yRR8ex1

We hope this helps!

2 Likes

Can you guys remove this? its super annoying and doesn’t need a short cut

Hi @ceezvb6, we’re unlikely to. Resizing a frame will only affect the size of the contents if they’re set up in two particular ways — either with Relative width or height, or pinned on both ends. Newly created layers are NOT set up this way, so if a layer is, it was done so by user choice, and we respect that by default, otherwise these properties wouldn’t work as advertised.

bummer ok thank you for the update