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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
elmik3
Visitor

Space between items, VideoPlayer example

Hi, I downloaded this example channel https://github.com/rokudev/sample-chann ... hannel.zip, and I liked the design, my question is how I reduce the space that exists between the items as shown in the image, 



I think it may be in this part of the code but I'm not sure

  sub itemContentChanged()
        m.Poster.loadDisplayMode = "scaleToZoom"
        m.Label.text = m.top.itemcontent.Title
        m.SubLabel.text = m.top.itemcontent.shortdescriptionline2
        updateLayout()
        m.Poster.uri = m.top.itemContent.HDPOSTERURL
        m.Label.translation = [10, m.poster.height + 20]
        m.SubLabel.translation = [10, m.poster.height + 65]
      end sub


If someone wants to help me I would appreciate them, regards
0 Kudos
1 REPLY 1
joetesta
Roku Guru

Re: Space between items, VideoPlayer example

Check rowItemSpacing in CategoryScreen.xml, the first value is the horizontal value, currently 100 in the github download.  Try decreasing it to 50 or whatever makes sense for you.
aspiring
0 Kudos