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

Relative sizing?

Is there a way to size components more relatively? For example, let;'s say I make a thumbnail that is 300x200. It has images and text elements, etc. Let's say I use that component on a different part of the page, but I tell it to instead be 350x200. It would be nice to make the children nodes on the component to use relative sizing and positioning to make it easy to change the overall component size. For example, being able to use 100% width/height would be awesome, rather than telling all the sub child nodes to be the same size.
0 Kudos
1 Reply
Roku Employee
Roku Employee

Re: Relative sizing?

That's how RSG works already. See the `scale` property, it applies to the UI component and its attached/children.
https://sdkdocs.roku.com/display/sdkdoc/Group
0 Kudos