Skip to main content

Stroke offset for auto-layout frames


THNDRX

I’d like to be able to offset a stroke on a frame where auto-layout is applied. For example, to create a button component for which the focussed state has a stroke that is offset 1px to the outside (see picture below).

The workaround now is to nest a frame 1px to the inside of another frame which has a stroke applied to it, but this means the main button component will be 2px larger than needed. If that makes sense. I tried to illustrate it in the picture below.

This topic has been closed for comments

2 replies

AKyr
  • 6 replies
  • April 28, 2022

I would say, stroke offset for all objects where stroke is applicable. Why restrict to auto-layout frames?


  • 0 replies
  • July 27, 2022

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


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