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

Does TextEditBox support fonts?

Does TextEditBox support custom fonts?
I see that it has textColor and hintTextColor fields, but no font fields.
I tried to use custom fonts but they don't work, just color works.

  m.user = m.top.findNode("user")
  m.user.textFont = m.Fonts.Section.node
  m.user.textColor = m.Fonts.Section.color
  m.user.hintTextFont = m.Fonts.Section.node  
  m.user.hintTextColor = m.Fonts.Section.color
0 Kudos
2 REPLIES 2
joetesta
Roku Guru

Re: Does TextEditBox support fonts?

no, sadly several text-related components (overhang title?) don't support font and think you'll have to make custom components if you want control over the font.
aspiring
0 Kudos
chaklasiyanikun
Roku Guru

Re: Does TextEditBox support fonts?

The custom component is required to add fonts in this three (Overhang, TextEditbox, and Checklist) components. Right?

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.