jf-roku/components/tvshows/group-description.xml
2019-04-13 22:52:46 -05:00

44 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<component name="TVShowDescription" extends="Group">
<children>
<LayoutGroup id="main_group" layoutDirection="horiz" itemSpacings="[15]" >
<Poster id="tvshowPoster" width="400" height="600" />
<LayoutGroup layoutDirection="vert" itemSpacings="[25]">
<Label id="title" font="font:LargeBoldSystemFont" />
<LayoutGroup layoutDirection="horiz" itemSpacings="[150]">
<Label id="releaseYear" />
<Label id="officialRating" />
<Label id="communityRating" />
</LayoutGroup>
<Label id="genres" />
<ButtonGroupHoriz id="buttons" itemSpacings="[10]">
<Button text="Play" id="play-button" />
<Button text="Shuffle" id="shuffle-button" />
<Button text="Favorite" id="favorite-button" />
</ButtonGroupHoriz>
<Label id="tagline" />
<Label id="overview" wrap="true" width="900" maxLines="4" />
<Label id="history" />
</LayoutGroup>
</LayoutGroup>
</children>
<interface>
<field id="itemContent" type="node" onChange="itemContentChanged" />
</interface>
<script type="text/brightscript" uri="pkg:/components/tvshows/group-description.brs" />
<script type="text/brightscript">
<![CDATA[
sub init()
buttons = m.top.findNode("buttons")
buttons.iconUri = ""
for each button in buttons.getChildren(-1, 0)
button.maxWidth = 350
button.minWidth = 350
end for
end sub
]]>
</script>
</component>