elmik3
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2017
03:56 PM
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
If someone wants to help me I would appreciate them, regards

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
1 REPLY 1
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2017
01:58 PM
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