Skip to main content
Question

Bug: Auto layout not working with lines

  • June 13, 2025
  • 1 reply
  • 8 views

Jaro
  • New Member
  • 1 reply

 

Strange things happening when using lines in autolayout

  1. if starting a auto-layouted-frame with lines, nothing is correctly aligned
  2. if starting with rectangles and then adding a line, the rectangles work, but line still has issues

1 reply

giliard
  • New Member
  • 67 replies
  • June 13, 2025

Lines are single "strokes" (borders), and they don't have perfect dimensions set. As you can see in the right panel, the height for the line is 0 (zero). That's why it doesn't feel right in an auto-layout.

To make them work well with auto-layout, you will need to convert them to regular shapes (like rectangles) using the "Outline stroke" option.

 


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