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: 
johnmarsden
Level 7

Complex text in SceneGraph

I have a couple of questions here.

1.) What's the best way to create "anchors" (clickable/focusable) text within a Label? e.g. "View our PRIVACY POLICY"

2.) Is it possible to group text styles into a ScrollableText type component? I want ScrollableText with a different sized header that also scrolls with the text.

Thanks for the help guys. I'll probably have more questions I'll put in different threads to help create a searchable record for others with similar questions.

Go Scene Graph.
0 Kudos
2 Replies
johnmarsden
Level 7

Re: Complex text in SceneGraph

Additionally, what about having a multi-line Label (header) that has another Label (paragraph) underneath of different size.

Should I dynamically set the header label, wait for an onChange event, then change the translation on the second label to be the y+height of the first?

Or is there a simpler way?

Smiley Happy
0 Kudos
johnmarsden
Level 7

Re: Complex text in SceneGraph

Bump.
0 Kudos