Skip to main content
Question

Some Improvements of Auto Layouts (ZStack)


Norman.Chen

Hello, I'm a designer using Figma for over 6 years. These days I'm writing codes as well

I want have a function of Auto Layout.

In Swift coding, we got HStack, VStack, ZStack and Grid
Sometime I want to create a button with a background which can Scale with the sizes of button.

If I filled to the top - Layout of the button it’s done. but sometime I want it can be hided as a switch in component properties, It;s hard to do so.

Also in some Popup design, I want to add something like  exit icons which is not followed the whole frame, the only way I could do this is to make it position absolute.

So my idea and suggest about auto layout is that. If I could have a function like ZStack. It can helps the element inside Fill container and also, it can have the Layers for different parts. 

It’s a little bit hard to describe but thank you for your reading

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings