Anything else I’m missing that would make this cleaner? Or should I abandon the idea and make two symbols, one for icon+text button and one for text button?
Since I’m working with these new features, can I also ask if it’s possible to replace layer style of the main frame?
I see that for Button M, Solid there is no longer any background rectangle, so there is no way to specify an Override, right?
The only way I can do this is to paste back the rectangle, ignore stack layout and stretch it back to 100% of the available space. Then I can switch button’s background layer style to hover or pressed (for example).
Yes! Frames now support layer styles in the new version. We did this so you don’t need to hack around with a rectangle and ignore layout. Took a screenshot of a selected instance where you can see the layer style you can swap there.
Oooooh now it makes sense, thank you! I wonder what I was missing… when I made symbol from that frame, I was surprised that while background rect’s styles were copied as-is, the layer style wasn’t copied (was empty). Now I fixed it and I can override! Awesome stuff, this is the best update maybe ever.