Set Roku Safe zones for Overhang & Home (#217)

* Set Roku Safe zones for Overhang & Home

* Set overhang title to be Scrolling Label

* Move overhand logo nearer edge to line up with Safe Zone

* Set width of Rows to cut off at edge of Safe Zone

* Moving "options" out of JF Overhang background area

Previously Options were not in "dark background", but when updating for Safe Zones I extended the background too far.  Sorting this.
This commit is contained in:
Neil Burrows 2020-06-10 15:40:09 +01:00 committed by GitHub
parent 8e9ba171f1
commit ba05444f44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View File

@ -6,22 +6,22 @@
id="overlayBackground"
color="#000000"
width="1920"
height="96"
height="125"
translation="[0,0]" />
</LayoutGroup>
<Poster id="overlayLogo"
uri="pkg:/images/logo.png"
translation="[0, 12]"
translation="[70, 53]"
width="270" height="72" />
<LayoutGroup id="overlayLeftGroup" layoutDirection="horiz" translation="[275, 18]" itemSpacings="30" >
<LayoutGroup id="overlayLeftGroup" layoutDirection="horiz" translation="[375, 53]" itemSpacings="30" >
<Rectangle
id="overlayLeftSeperator"
color="#666666"
width="2"
height="64"/>
<Label id="overlayTitle" font="font:LargeSystemFont" vertAlign="center" height="64" width="1100" />
<ScrollingLabel id="overlayTitle" font="font:LargeSystemFont" vertAlign="center" height="64" maxWidth="1100" repeatCount="0" />
</LayoutGroup>
<LayoutGroup id="overlayRightGroup" layoutDirection="horiz" itemSpacings="30" translation="[1900, 18]" horizAlignment="right" >
<LayoutGroup id="overlayRightGroup" layoutDirection="horiz" itemSpacings="30" translation="[1820, 53]" horizAlignment="right" >
<Label id="overlayCurrentUser" font="font:MediumSystemFont" width="300" horizAlign="right" vertAlign="center" height="64" />
<Rectangle
id="overlayRightSeperator"
@ -36,7 +36,7 @@
</LayoutGroup>
</LayoutGroup>
<LayoutGroup layoutDirection="horiz" horizAlignment="right" translation="[1900, 96]" vertAlignment="custom">
<LayoutGroup layoutDirection="horiz" horizAlignment="right" translation="[1820, 125]" vertAlignment="custom">
<Label id="overlayOptionsStar" font="font:LargeSystemFont" text="*" />
<Label id="overlayOptionsText" font="font:SmallSystemFont" text="Options" translation="[0,6]" />
</LayoutGroup>

View File

@ -31,12 +31,14 @@ end sub
sub updateSize()
sideborder = 100
m.top.translation = [111, 155]
m.top.translation = [111, 180]
itemWidth = 480
itemHeight = 330
m.top.itemSize = [1920 - 111 - 27, itemHeight]
'Set width of Rows to cut off at edge of Safe Zone
m.top.itemSize = [1703, itemHeight]
' spacing between rows
m.top.itemSpacing = [0, 105]