Bird
0
0

A rectangle inside a frame has constraints set to Top only. When the frame height increases, the rectangle does not resize vertically. Why?

medium📝 Formula Fix Q7 of 15
Figma - Frames and Layout
A rectangle inside a frame has constraints set to Top only. When the frame height increases, the rectangle does not resize vertically. Why?
ABecause Top constraint causes the element to stretch vertically.
BBecause only the Top constraint is set, the element's height remains fixed.
CBecause the element is set to Center vertically.
DBecause the Bottom constraint is also required to fix the element's height.
Step-by-Step Solution
Solution:
  1. Step 1: Analyze constraints

    With only the Top constraint set, the element's top edge stays fixed, but height does not change.
  2. Step 2: Effect of frame resizing

    Increasing frame height moves the bottom edge, but element height remains constant since Bottom constraint is not set.
  3. Final Answer:

    The element's height stays fixed because only Top constraint is set. -> Option B
  4. Quick Check:

    Top only constraint fixes top edge, no vertical stretch [OK]
Quick Trick: Top only constraint fixes top edge, no stretch [OK]
Common Mistakes:
MISTAKES
  • Assuming element stretches with only Top constraint
  • Confusing Center with Top constraint
  • Believing Bottom constraint is unnecessary for resizing

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Figma Quizzes