Hi all,
I’m designing a button for my website, and I’m facing an issue with auto-resizing. The button consists of two layers:
- The top layer (where the text/copy is placed).
- A bottom layer, which acts as a decentered outline for the button.
I have created the button as a component, and I want it to resize automatically when the text changes. However, only the top layer resizes with the text, while the bottom layer
(the decentered outline) stays fixed, requiring manual adjustments.
I’ve tried various approaches, like grouping the two layers, but I haven’t found a solution yet.
Could anyone guide me on how to make both layers resize automatically in sync with the text?
Thanks in advance for any tips or suggestions!