Forum Discussion
francoismarais
3 years agoCommunity Member
Button with text and image
Hello a tutti
I would like to make a rectangular button containing both an icon and a text underneath
and I don't see how to do it in the same object. the two overlap.
be careful, I want to use an image of mine as an icon
with a button a ST360, impossible to do that even with an icon from the pack icon of ST360
thanks
François
- JudyNolletSuper Hero
You can turn any object into a button by adding triggers to it. Here's how I'd create the button you want:
- Insert a rectangle shape, filled with the desired color.
- Enter the name (for example, "REPLAY").
- Adjust the text-box margins for the shape so the name appears at the bottom.
- Go into Edit States mode. Insert an icon, and place it over the shape. (That's right: when you're in Edit States mode, whatever you insert becomes part of that State.)
- As desired, duplicate that state and make whatever adjustments you want to color, etc.
- francoismaraisCommunity Member
Yes,
this is indeed a good solution. it should be possible to do it in basic objects without having to tinker each time Thank you very much