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

Right align items in a LayoutGroup

I can't seem to figure out this basic concept.  In the example below the Text can vary in width but the PosterImage is only 40px wide.

---------------------------------------------------------------------------------------
                                                                                           PosterImage | Text
---------------------------------------------------------------------------------------
0 Kudos
1 Reply
joetesta
Level 10

Re: Right align items in a LayoutGroup

Do not assign a width to your text label and then calculate your poster's translation dynamically based on the boundingRect().width of your text.
aspiring
0 Kudos