Bird
0
0

You want a text box that keeps a fixed width of 300px but automatically adjusts height as the user types multiple lines. Which setting should you choose and why?

hard📝 Scenario Q15 of 15
Figma - Typography
You want a text box that keeps a fixed width of 300px but automatically adjusts height as the user types multiple lines. Which setting should you choose and why?
AAuto-width, because it grows width with text.
BAuto-height, because it grows height with wrapped lines.
CFixed size, because it keeps both width and height fixed.
DManual resize, because auto settings don't allow height changes.
Step-by-Step Solution
Solution:
  1. Step 1: Identify requirement for fixed width and variable height

    The text box must keep width fixed at 300px but grow taller as lines increase.
  2. Step 2: Match setting to requirement

    Auto-height keeps width fixed and adjusts height automatically with wrapped lines, fitting the need.
  3. Step 3: Eliminate other options

    Auto-width changes width, fixed size locks both dimensions, manual resize is not automatic.
  4. Final Answer:

    Auto-height, because it grows height with wrapped lines. -> Option B
  5. Quick Check:

    Fixed width + growing height = Auto-height [OK]
Quick Trick: Fixed width + variable height? Choose auto-height [OK]
Common Mistakes:
MISTAKES
  • Choosing auto-width which changes width
  • Thinking fixed size allows auto height
  • Believing manual resize is automatic

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Figma Quizzes