Skip to main content
Question

Button Auto layout problem

  • February 9, 2025
  • 5 replies
  • 46 views

Piotr Niklas

Hey there!

I’m trying to create a resizable button component. Along with text, I’d like to nest an additional resizable component as a background. Now, I know I could simply generate fill and stroke color in this example, but that’s not the case. How can I make the rectangular component resize itself along with the text on top of it? Thanks!

 

This topic has been closed for replies.

5 replies

tank666
  • 4873 replies
  • February 9, 2025

 


Piotr Niklas
  • Author
  • New Member
  • 3 replies
  • February 9, 2025

Thanks, but I’ve actually seen that answer, but it doesn’t work. Please refer to my image above.


tank666
  • 4873 replies
  • February 9, 2025

It doesn't work for you because you didn't complete step 3.


Piotr Niklas
  • Author
  • New Member
  • 3 replies
  • February 10, 2025

Oh I tried different options, but this doesn’t change anything….


tank666
  • 4873 replies
  • February 10, 2025

Now follow step 4.