Fixing linter errors and removing debug print statement
This commit is contained in:
parent
5e2ebba8f6
commit
9b6ebc2715
|
@ -32,17 +32,14 @@ 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
|
||||
m.staticTitle.translation = m.title.translation
|
||||
|
||||
m.poster.width = int(maxSize[0]) - 4
|
||||
m.poster.height = int(maxSize[1]) - m.title.height 'Set poster height to available space
|
||||
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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user