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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 7

Questions about using the new roSGNode SDK

I am building an item with multiple labels on the same line. There will be dynamic content in the labels, so the width of the labels will be changing based on what the text is, so I have the width set to zero for both. However, when I need the final width of the first label in order to properly place the second label, it is still returning as zero. Is there a way to access the final width of the label in order to determine where the second label should go. I am assuming that this will be done via translation, but I need an x-value to put into the translation. Thanks!
0 Kudos
Roku Employee
Roku Employee

Re: Questions about using the new roSGNode SDK

Please post your SceneGraph questions and feedback to the Beta Scene Graph Components thread


- Joel
0 Kudos