Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
joetesta
Roku Guru

Button Component default dot

Greetings, 
I'm trying to use a button component with just 2 images (focus and off-focus) and no text.
A random dot appears in the middle of my buttons, it seems this dot is always placed before the text even when the text is empty, yes?  Any way to get rid of this dot?  I'd like to blend it into the background by setting the color to match but it overlaps some areas that won't work.  Maybe there's a way to set the font size to 0 or something here?
tyvmia
aspiring
0 Kudos
4 REPLIES 4
joetesta
Roku Guru

Re: Button Component default dot

aha!  the dot is the default iconUri that can be overridden with iconUri=""
I think that could be corrected / clarified a bit under "iconUri" here https://sdkdocs.roku.com/display/sdkdoc/Button 
For default instead of "" it should show the dot maybe?
thanks,
Joe
aspiring
0 Kudos
tim_beynart
Channel Surfer

Re: Button Component default dot

Nice! this has been bugging me, but I never spent the time to figure it out.
0 Kudos
NB_
Roku Guru

Re: frustrated with incorrect RSG documentation

"joetesta" wrote:
12 days and nobody has time to stick a dot (• maybe?) on this page to make it correct / less confusing? https://forums.roku.com/viewtopic.php?f ... 60#p564282  

i have looked at it but it doesn't seem like it should be "a dot". Did you try printing the values of iconUri, focusedIconUri in the console, do they show anything different than an empty string?
0 Kudos
joetesta
Roku Guru

Re: frustrated with incorrect RSG documentation

"RokuNB" wrote:
"joetesta" wrote:
12 days and nobody has time to stick a dot (• maybe?) on this page to make it correct / less confusing? https://forums.roku.com/viewtopic.php?f ... 60#p564282  

i have looked at it but it doesn't seem like it should be "a dot". Did you try printing the values of iconUri, focusedIconUri in the console, do they show anything different than an empty string?

i see your point, I believe they did appear as empty strings in debug, but on screen they are not empty.  
Figuring out how to suppress the visible dot on screen took more effort than if this had been explained somewhere in the documentation - even though it's an empty string, overriding that empty string with ANOTHER empty string makes the mystery dot go away.  Rather than an HTML bullet, maybe a footnote on the page might be appropriate then? Or maybe just a mention in the "Use" column that the default bitmap is a circle?
aspiring
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.