2020-02-11, 23:41
How could I go about creating a line that says "X movies available", were X is the actual number? Is there a label I can use?
XML:<itemlayout height="540" width="1920">
<control type="label">
<left>230</left>
<width>600</width>
<height>150</height>
<font>Bold77</font>
<textcolor>80CFCFCF</textcolor>
<selectedcolor>80CFCFCF</selectedcolor>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<top>90</top>
<left>270</left>
<font>Reg30</font>
<textcolor>80CFCFCF</textcolor>
<label>$INFO[Window(Home).Property(TVShows.Count),, available]</label>
</control>
</itemlayout>
<focusedlayout height="540" width="1920">
<control type="group">
<animation effect="zoom" time="120" start="100" end="105" center="auto" tween="Back" easing="Out">Focus</animation>
<control type="image">
<top>-350</top>
<aspectratio>keep</aspectratio>
<texture background="true">general/focus_home.png</texture>
</control>
<control type="label">
<font>Bold77</font>
<left>250</left>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="label">
<top>90</top>
<left>250</left>
<font>Reg30</font>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[Window(Home).Property(Movies.Count),, available]</label>
</control>
</control>
</focusedlayout>
<content>
<item>
<label>Movies</label>
<onclick>ActivateWindow(Favourites,return)</onclick>
</item>
<item>
<label>TV Shows</label>
<onclick>ActivateWindow(Videos,TvShowTitles,return)</onclick>
</item>
</content>
<item>
<label>Movies</label>
<property name="info">$INFO[Window(Home).Property(Movies.Count),, available]</property>
<onclick>ActivateWindow(Favourites,return)</onclick>
</item>