

Strange things happening when using lines in autolayout
- if starting a auto-layouted-frame with lines, nothing is correctly aligned
- if starting with rectangles and then adding a line, the rectangles work, but line still has issues
Strange things happening when using lines in autolayout
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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.