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: 

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
Roku Guru

Re: Relative sizing?

That's how RSG works already. See the `scale` property, it applies to the UI component and its attached/children.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.