Adjust size to safe zone
This commit is contained in:
parent
099de944a4
commit
3c326d02fc
|
@ -61,16 +61,16 @@ sub itemContentChanged()
|
|||
m.itemPoster.uri = itemData.PosterUrl
|
||||
m.itemText.text = itemData.Title
|
||||
|
||||
m.itemPoster.height = 300
|
||||
m.itemPoster.width = 300
|
||||
m.itemPoster.height = 290
|
||||
m.itemPoster.width = 290
|
||||
|
||||
m.itemText.translation = [0, m.itemPoster.height + 7]
|
||||
|
||||
m.backdrop.height = 300
|
||||
m.backdrop.width = 300
|
||||
m.backdrop.height = 290
|
||||
m.backdrop.width = 290
|
||||
|
||||
m.posterText.height = 200
|
||||
m.posterText.width = 290
|
||||
m.posterText.width = 280
|
||||
else
|
||||
print "Unhandled Grid Item Type: " + itemData.type
|
||||
end if
|
||||
|
|
|
@ -104,8 +104,8 @@ sub loadInitialItems()
|
|||
m.loadItemsTask.itemType = "MusicArtist,MusicAlbum"
|
||||
m.loadItemsTask.fallbackType = "MusicAlbum"
|
||||
m.loadItemsTask.recursive = false
|
||||
m.itemGrid.itemSize = "[300, 300]"
|
||||
m.itemGrid.itemSpacing = "[ 0, 20 ]"
|
||||
m.itemGrid.itemSize = "[290, 290]"
|
||||
m.itemGrid.itemSpacing = "[ 0, 20]"
|
||||
else if m.top.parentItem.collectionType = "livetv"
|
||||
m.loadItemsTask.itemType = "LiveTV"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user