0
0
Figmabi_tool~20 mins

Adding Auto Layout to frames in Figma - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Auto Layout Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What happens when you add Auto Layout to a frame in Figma?

Imagine you have a frame with several objects inside. You add Auto Layout to this frame. What is the main effect?

AThe frame becomes locked and you cannot move or resize objects inside it.
BThe frame deletes all objects inside and resets to default size.
CThe frame converts into a component and all objects inside become uneditable.
DThe objects inside the frame automatically arrange themselves based on direction and spacing settings.
Attempts:
2 left
💡 Hint

Think about how Auto Layout helps organize items inside a frame.

visualization
intermediate
2:00remaining
Identify the correct Auto Layout direction for a horizontal menu

You want to create a horizontal menu with buttons spaced evenly inside a frame using Auto Layout. Which Auto Layout direction should you choose?

AHorizontal
BStacked
CGrid
DVertical
Attempts:
2 left
💡 Hint

Menus usually list items side by side from left to right.

data_modeling
advanced
2:30remaining
How does Auto Layout affect resizing behavior of frames?

When Auto Layout is applied to a frame, how does it control the resizing of the frame and its child objects?

AChild objects resize independently but the frame size remains static.
BThe frame resizes automatically based on the size and spacing of child objects, and child objects can be set to fixed or fill container widths.
CThe frame size becomes fixed and child objects cannot resize or move inside it.
DThe frame and child objects both ignore resizing settings and keep their original sizes.
Attempts:
2 left
💡 Hint

Think about how Auto Layout helps frames adapt to content changes.

🔧 Formula Fix
advanced
2:30remaining
Why does the Auto Layout frame not resize as expected?

You added Auto Layout to a frame but when you resize the frame, the child objects do not adjust their size or position. What is the most likely cause?

AChild objects have fixed width and height set, preventing them from resizing with the frame.
BAuto Layout was applied to the wrong frame and not the one containing the child objects.
CThe frame has no child objects inside it.
DThe frame is locked and cannot be resized.
Attempts:
2 left
💡 Hint

Check the sizing properties of the child objects inside the frame.

🎯 Scenario
expert
3:00remaining
Creating a responsive card component with Auto Layout

You want to create a card component that automatically adjusts its height based on the text content inside it, using Auto Layout. Which setup will achieve this behavior?

ASet the frame to vertical Auto Layout, set text to fixed width and height, and set the frame height to fixed size.
BSet the frame to horizontal Auto Layout, set text width and height to fixed, and set the frame height to fill container.
CSet the frame to vertical Auto Layout, set text width to fixed and height to auto, and set the frame height to hug contents.
DSet the frame to vertical Auto Layout, set text width and height to fixed, and set the frame height to fill container.
Attempts:
2 left
💡 Hint

Think about how to make the frame height adapt to text content size.