Scaling
Choose how a layer resizes across screen sizes, including Contain and Cover, which keep a layer inside or filling its parent.

Scaling controls how a layer resizes when the screen size changes. You'll find the Scaling dropdown in the Responsivity section of the Transform panel. New layers use Scale to Fit.
The dropdown has two groups:
Scale with Screen options resize the layer based on how much the screen changed.
Fit to Parent options size the layer against the artboard, or the group it sits in.
Scale with Screen
Keep Width Locks the layer's width so it doesn't change as the screen changes. The layer keeps its proportions, so its height adjusts to match.
Keep Height Locks the layer's height so it doesn't change as the screen changes. The layer keeps its proportions, so its width adjusts to match.
Scale to Fit Scales the layer by whichever screen side changed least, keeping its proportions. The layer never grows past what the shorter side allows. This option was briefly called Keep Shorter.
Scale to Fill Scales the layer by whichever screen side changed most, keeping its proportions. This option was briefly called Keep Longer.
Stretch Stretches the layer so it always keeps the same Width % and Height % of the screen. Its proportions can change.
Fit to Parent
A layer's parent is the artboard, or the group when the layer is nested inside one.
Contain Scales the layer, keeping its proportions, until it fits fully inside its parent with nothing cut off. Use it for logos, end cards and anything that must always be visible in full.
Cover Scales the layer, keeping its proportions, until it fills its parent completely. Anything that extends past the edge of the artboard is cut off. Use it for backgrounds that should never show a gap.
When you select Contain or Cover, the layer snaps to its new size and position right away. It stays contained or covering on every screen size in Preview and in your exports, and re-fits on its own when:
the group it sits in is resized
the artboard's ratio changes
the layer is moved or pasted into or out of a group
the layer's image is replaced
Positioning with Pin and Anchor Point
In Contain and Cover, the Pin decides where the layer sits inside its parent, and the layer scales from that point. The Anchor Point always matches the pin, so changing one changes the other.
Center, or no pin
Centered in the parent
Top Center
Against the top edge, centered across
Bottom Right
In the bottom right corner
What Switches a Layer out of Contain or Cover
Contain and Cover control the layer's size and position. If you change those yourself, the layer switches to the closest Scale with Screen option: Contain becomes Scale to Fit and Cover becomes Scale to Fill. A notification confirms the switch.
Editing X, Y, Width or Height in the properties panel
Switches
Moving or resizing the layer on the canvas
Switches
Rotating the layer on the canvas
Switches, unless the Anchor Point is Center
Editing Rotation in the properties panel
Keeps Contain or Cover
Aligning one unrotated layer
Keeps Contain or Cover. The pin and Anchor Point move to the aligned edge
Aligning one rotated layer
Switches
Aligning several layers at once
Switches each layer that moves
How to Change a Layer's Scaling
Select a layer.
Open the Responsivity section and choose the Portrait or Landscape tab.
Open the Scaling dropdown.
Choose an option:
Scale with Screen: Keep Width, Keep Height, Scale to Fit, Scale to Fill or Stretch
Fit to Parent: Contain or Cover
Last updated