Fixing linter errors and removing debug print statement

This commit is contained in:
Neil Burrows 2022-04-20 09:27:14 +01:00
parent 5e2ebba8f6
commit 9b6ebc2715
2 changed files with 3 additions and 6 deletions

View File

@ -32,7 +32,6 @@ sub updateSize()
m.title.maxWidth = maxSize[0]
m.title.height = 40
m.title.translation = [0, int(maxSize[1]) - m.title.height + 5]
print "[0," int(maxSize[1]) - m.title.height"]"
m.staticTitle.width = maxSize[0]
m.staticTitle.height = m.title.height
@ -41,8 +40,6 @@ sub updateSize()
m.poster.width = int(maxSize[0]) - 4
m.poster.height = int(maxSize[1]) - m.title.height 'Set poster height to available space
m.backdrop.width = m.poster.width
m.backdrop.height = m.poster.height

View File

@ -20,12 +20,12 @@ sub updateSize()
m.top.visible = true
' size of the whole row
m.top.itemSize = [1800, (itemHeight+40)]
m.top.itemSize = [1800, (itemHeight + 40)]
' spacing between rows
m.top.itemSpacing = [0, 0]
' size of the item in the row
m.top.rowItemSize = [itemWidth, itemHeight ]
m.top.rowItemSize = [itemWidth, itemHeight]
' spacing between items in a row
m.top.rowItemSpacing = [0, 0]
end sub