joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2017
11:14 AM
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
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
4 REPLIES 4
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2017
12:09 PM
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
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
tim_beynart
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2017
01:46 PM
Re: Button Component default dot
Nice! this has been bugging me, but I never spent the time to figure it out.
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017
05:12 PM
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?
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2017
06:35 PM
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