Forum Discussion

joetesta's avatar
joetesta
Roku Guru
8 years ago

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

4 Replies

  • Nice! this has been bugging me, but I never spent the time to figure it out.
  • "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?
  • "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?