Forum Discussion

johnmarsden's avatar
9 years ago

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.

4 Replies

  • 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?

    🙂
    • roubix's avatar
      roubix
      Reel Rookie

      Bump.  I am looking for this too.  Would also be great to be able to add a margin between the text and scrollbar.  Maybe a text width parameter would make sense?