Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
wizaro
Level 7

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
1 Reply
Highlighted
joetesta
Level 10

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