diff --git a/components/ItemGrid.brs b/components/ItemGrid.brs index 0e053b27..69fc316a 100644 --- a/components/ItemGrid.brs +++ b/components/ItemGrid.brs @@ -17,15 +17,16 @@ sub updateSize() dimensions = m.top.getScene().currentDesignResolution - border = 75 - topSpace = border + 105 - m.top.translation = [border, topSpace] + topBorder = 75 + border = 96 + topSpace = topBorder + 105 + m.top.translation = [96, topSpace] textHeight = 100 itemWidth = (dimensions["width"] - border*2) / m.top.itemsPerRow -20 itemHeight = itemWidth * 1.5 + textHeight - if itemHeight*m.top.rowsPerPage > (dimensions["height"] - border - 115) then + if itemHeight*m.top.rowsPerPage > (dimensions["height"] - topBorder - 115) then ratio = (itemHeight*m.top.rowsPerPage) / (981 - topSpace - 15) itemHeight = itemHeight / ratio itemWidth = itemWidth / ratio diff --git a/components/movies/MovieDetails.brs b/components/movies/MovieDetails.brs index beeb3258..f18b8dfe 100644 --- a/components/movies/MovieDetails.brs +++ b/components/movies/MovieDetails.brs @@ -2,10 +2,10 @@ sub init() m.top.optionsAvailable = false main = m.top.findNode("main_group") - main.translation = [50, 175] + main.translation = [96, 175] overview = m.top.findNode("overview") - overview.width = 1920 - 100 - 400 + overview.width = 1920 - 96 - 300 - 96 - 30 m.top.findNode("buttons").setFocus(true) end sub diff --git a/components/movies/MovieDetails.xml b/components/movies/MovieDetails.xml index 152934a3..7a2b0472 100644 --- a/components/movies/MovieDetails.xml +++ b/components/movies/MovieDetails.xml @@ -4,7 +4,7 @@ + width="300" height="450" />