Forum Discussion

wizaro's avatar
wizaro
Visitor
8 years ago

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

2 Replies

  • 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.
    • chaklasiyanikun's avatar
      chaklasiyanikun
      Roku Guru

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