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: 
Sabertooth
Visitor

How to reduce the font size in SetBreadcrumbText?

Hi All,
Can anyone tell me how to reduce the font size in SetBreadcrumbText of roGridScreen.

Thanks
0 Kudos
5 REPLIES 5
renojim
Community Streaming Expert

Re: How to reduce the font size in SetBreadcrumbText?

You can't. It's a fixed size.
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Sabertooth
Visitor

Re: How to reduce the font size in SetBreadcrumbText?

Thanks for your quick response.
Can I atleast change the boldness of the text?
0 Kudos
RokuChris
Roku Employee
Roku Employee

Re: How to reduce the font size in SetBreadcrumbText?

"Sabertooth" wrote:
Thanks for your quick response.
Can I atleast change the boldness of the text?


No. You can change the color of the breadcrumb, but that's about it. http://sdkdocs.roku.com/display/sdkdoc/roAppManager
0 Kudos
drobinson
Visitor

Re: How to reduce the font size in SetBreadcrumbText?

"RokuChris" wrote:
"Sabertooth" wrote:
Thanks for your quick response.
Can I atleast change the boldness of the text?


No. You can change the color of the breadcrumb, but that's about it. http://sdkdocs.roku.com/display/sdkdoc/roAppManager

I'm trying to change the text color but I seem to be missing something. Can anyone give a syntax example? I'm plugging theme.BreadcrumbTextRight into my appMain.brs file but it's not changing the color.

The breadcrumb text is the top right text that displays as you go to deeper categories right?

Here's my code:
Sub initTheme()

app = CreateObject("roAppManager")
theme = CreateObject("roAssociativeArray")

theme.Background = "#e1e1e1"
theme.BreadcrumbTextRight = "FFFFFF"
theme.OverhangOffsetSD_X = "72"
theme.OverhangOffsetSD_Y = "31"
theme.OverhangSliceSD = "pkg:/images/Overhang_Background_SD.png"
theme.OverhangLogoSD = "pkg:/images/Overhang_Logo_SD.png"

theme.OverhangOffsetHD_X = "125"
theme.OverhangOffsetHD_Y = "35"
theme.OverhangSliceHD = "pkg:/images/Overhang_Background_HD.png"
theme.OverhangLogoHD = "pkg:/images/Overhang_Logo_HD.png"

app.SetTheme(theme)

End Sub
0 Kudos
drobinson
Visitor

Re: How to reduce the font size in SetBreadcrumbText?

Oops... forgot the # HASHTAG sign on my color code!

Maybe this will help someone else 😉

theme.BreadcrumbTextRight = "#FFFFFF"
0 Kudos