jf-roku/components/music/SongItem.xml

16 lines
891 B
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<component name="SongItem" extends="Group">
<children>
<LayoutGroup layoutDirection="horiz" horizAlignment="left" itemSpacings="[5, 0]" translation="[0, 15]">
<Label id="trackNumber" horizAlign="left" vertAlign="center" font="font:SmallBoldSystemFont" width="80" />
<Label id="itemText" horizAlign="left" vertAlign="center" font="font:SmallBoldSystemFont" width="930" />
<Label id="tracklength" horizAlign="right" vertAlign="center" font="font:SmallBoldSystemFont" width="150" />
</LayoutGroup>
</children>
<interface>
<field id="itemContent" type="node" onChange="itemContentChanged" />
<field id="itemHasFocus" type="boolean" onChange="focusChanged" />
</interface>
<script type="text/brightscript" uri="SongItem.brs" />
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
</component>