valicode
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2016
04:08 AM
Re: Beta Scene Graph Components
On the new Label component, the isTextEllipsized field is always returning false.
I have set the width to 90 (trying to force the wrap and truncation) and the text to 'Cancel this button' - which renders as 'Cancel this...'

Other fields set:
ellipsizeOnBoundary = true
wrap = true
numLines = 2
Any ideas why this is not returning true?
I have set the width to 90 (trying to force the wrap and truncation) and the text to 'Cancel this button' - which renders as 'Cancel this...'

Other fields set:
ellipsizeOnBoundary = true
wrap = true
numLines = 2
Any ideas why this is not returning true?
brybott
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2016
12:36 PM
Re: Beta Scene Graph Components
Setting .observeField on a roSGNode, you can add a callback function as a string...?
It seems it is not possible to pass the callback function any parameters? Am I correct?
It seems it is not possible to pass the callback function any parameters? Am I correct?
dacian_roman23
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2016
12:02 AM
Re: Beta Scene Graph Components
Thanks for the answer . Everything is ok now . 😄
juantwc
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2016
12:24 AM
Re: Beta Scene Graph Components
"dratio" wrote:
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.
Does anyone know how this is done? It would be really important for any semi-complicated layout
brybott
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2016
05:35 PM
Re: Beta Scene Graph Components
label.isEllipsized always seems to return false, even when I can visually see the ... ellipsis occurring. It happens regardless of if ellipsizeAtBoundary is set to true or false. The ellipsis also occurs regardless of if ellipsizeAtBoundary is set to true or false.
valicode
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2016
01:55 AM
Re: Beta Scene Graph Components
"brybott" wrote:
label.isEllipsized always seems to return false, even when I can visually see the ... ellipsis occurring. It happens regardless of if ellipsizeAtBoundary is set to true or false. The ellipsis also occurs regardless of if ellipsizeAtBoundary is set to true or false.
Yes, this is the same that I am seeing (see post at top of page 9). I hope they fix this soon.
brybott
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2016
02:15 PM
Re: Beta Scene Graph Components
I created a new component that extends the Group node. In instance of this component is a child to a Scene node. In the init() sub of the Group extended component, I try:
sceneParent = m.top.getParent()
but this returns invalid. Does getParent() work in the component's init function()?
If in the Scene nodes init function I do something like (with <MyGroup id="myGroup"> as a child of the Scene node)
m.myGroup = m.top.findNode("myGroup")
m.myGroup.getParent()
it works as expected.
sceneParent = m.top.getParent()
but this returns invalid. Does getParent() work in the component's init function()?
If in the Scene nodes init function I do something like (with <MyGroup id="myGroup"> as a child of the Scene node)
m.myGroup = m.top.findNode("myGroup")
m.myGroup.getParent()
it works as expected.

dreamer2057
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2016
08:48 AM
Re: Beta Scene Graph Components
"edskitter" wrote:
Concerning video, what are Roku's plan for securing video?
In previous version, I was using :
videoContent.Addheader("reserved-id", "xxxx.."
videoContent.SetCertificatesFile("pkg:/certs/xx.crt")
videoContent.InitClientCertificates()
How can we achieve this with the new API?
Oh, really, Roku. Why do you ignore all serious questions? Such as this and many others. New api it is very good. But we are playing in guessing, Nobody knows it better than you, but you are silent ...
Sincerely, Sergey Shoshin, software developer.

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2016
06:05 PM
Re: Beta Scene Graph Components
To answer the question about secure video on SceneGraph:
Firmware 7.1 and higher
https is supported by the Video node. The developer needs to put the certificate information into the ContentNode. Draft documentation (a screenshot, unfortunately, this BB doesn't seem to be able to do tables at the moment):
https://roku.box.com/s/4aha5azd3jga9vx7mscai3b8v1h8yybu
- Joel
Firmware 7.1 and higher
https is supported by the Video node. The developer needs to put the certificate information into the ContentNode. Draft documentation (a screenshot, unfortunately, this BB doesn't seem to be able to do tables at the moment):
https://roku.box.com/s/4aha5azd3jga9vx7mscai3b8v1h8yybu
- Joel

dreamer2057
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2016
06:33 AM
Re: Beta Scene Graph Components
It is a good news! This update seems to be stunning.
Which devices will be supported in 7.1, Roku 2 and more? And when this amazing update will be available for us?
Did you mean EPG-Control update will not be there?
Which devices will be supported in 7.1, Roku 2 and more? And when this amazing update will be available for us?
"RokuJoel" wrote:
this BB doesn't seem to be able to do tables at the moment
Did you mean EPG-Control update will not be there?
Sincerely, Sergey Shoshin, software developer.