05-31-2018 22:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-31-2018 22:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Right now I'm using a square button in my UI with an inline text and textarea. I'm using a square button compared to a push button because the square button fills on a touch event. I just don't know how to access the stroke attribute of the button.
This is what that button looks like right now:
<use id="articleButton" href="#square-button" y="0" height="140" fill="fb-magenta"> <set href="square-button-stroke" attributeName="display" to="off"/> <textarea id="articleTitle" x="7" y="10" font-family="Fabrikat-Bold" font-size="30" line-increment="35" fill="white">An effortless way to improve your memory</textarea> <text id="articleSource" x="7" y="110" font-size="25" fill="grey">www.bbc.com</text> </use>
But "square-button-stroke" is an invalid value. What's the href and attributeName inside the square button widget I would need to set so I can turn off the stroke of the button? Thanks.
Answered! Go to the Best Answer.

Accepted Solutions
06-01-2018 10:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-01-2018 10:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The stroke is made with an image which has an id of "stroke" and a class name of "square-button-stroke-fill".
Maybe
<set href="#stroke" attributeName="display" to="none" />

06-01-2018 10:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


06-01-2018 10:48
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The stroke is made with an image which has an id of "stroke" and a class name of "square-button-stroke-fill".
Maybe
<set href="#stroke" attributeName="display" to="none" />

