Your Digital Media Has Never Looked So Good

 
dratio
Topic Author
Posts: 17
Joined: Thu Sep 11, 2014 11:29 am

Questions about using the new roSGNode SDK

Wed Aug 19, 2015 10:46 am

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!
Last edited by dratio on Wed Aug 19, 2015 11:46 am, edited 1 time in total.
 
User avatar
RokuJoel
Posts: 1758
Joined: Mon Nov 14, 2011 5:22 pm

Re: Questions about using the new roSGNode SDK

Wed Aug 19, 2015 11:37 am

Please post your SceneGraph questions and feedback to the Beta Scene Graph Components thread
viewtopic.php?f=34&t=88621

Thanks,

- Joel

Who is online

Users browsing this forum: No registered users and 7 guests