This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Ilter Canberk
Posted Jun 05 - Read on Facebook

If I'm expanding a frame by changing the width value, is there way to keep the content aligned to the center? (Just like when you do scaleX, but I do not want to resize the content inside the frame)


Jonas Treub

You are using the parent layer as a mask right?

Ilter Canberk

If you mean having contents as sublayers of a parent layer, yes. Is there a special way of using the layer as a mask?

Jonas Treub

Sorry for the late reply but here is an example:

Ilter Canberk

Thanks Jonas Treub!

Fran Pérez

Another way to do it would be, inside the "change:x event" do something like: child.midX = parent.midX

Read the entire post on Facebook