Keyboard shortcuts + command for resizing: fill container etc

Chaining resizing options (fill container, fixed, hug etc) on auto layout frames takes a lot of time. it would be great to have keyboard shortcuts for them.
If not keyboard short cuts then commands I can get to with cmd+P.
Also: I thing double clicking an edge could make it fill the container (similar to hitting the edge of a text area)

Suggestions (given that auto layout is Shift+A):

  • SHIFT+A happens on release, not key down so that you can then…
  • SHIFT+A+LEFT = Hug
  • SHIFT+A+RIGHT = Fill
  • SHIFT+A+DOWN = Fixed

Existing:

19 Likes

Love and second this idea!!

4 Likes

Up voting this. This would save much time.

4 Likes

YES PLEASE! Updating components to use Auto Layout can be really painful because there is no easy way to quickly assign sizing option or constraints.

+1
Or at the very least add these as menu items so we can add our own keyboard shortcuts.

2 Likes

Or even as options in the command palette:

2 Likes

The new version of auto-layout makes resizing pretty easy:

double-click the frame edge → Hug Contents
option key + double-click frame edge → Fill Container

This update looks like a massive improvement :slight_smile:

10 Likes

You saved my few months of my life :sweat_smile::sob: THX

1 Like

It’s great to have this but anyone using a wacom tablet knows how bad it is to double click anything with a small hit area, would love this to have a keyboard-only alternative.

Any updates on this?

(post deleted by author)

to fill container:
alt or option + double click a vertical edge of a bounding box

to hug a container:
double click a vertical edge of a bounding box

1 Like

Unfortunately, these don’t work within a component with nest frames. Would be so helpful if they did, along with having the on-screen spacing adjusters.