(2014-09-12, 21:17)skye Wrote: I see that ratings for Movies are not displayed anymore with TriPanel.
I know ratings are shown if I sort the list by Rating, but some addon can not
chose the sort and I would like to see the ratings no matter what sort option
I chose like before.
In View_55_TriPanel.xml, I changed $INFO[ListItem.Label2] to $INFO[ListItem.Rating]
under Container.Content(movies), but still ratings are not visible in the list although
now the rating shows only for the movie that is currently selected.
How can I display rating for all titles with TriPanel using all sorting options like before?
Ask your addon author to add rating to label2. If you change it manually, there is itemlayout and focusedlayout that needs changing. By the sound of it, you only changed the focusedlayout.
[/quote]
Thank you for quick reply. Actually I personally never use the list sorted by rating.
I want to see the ratings in the list sorted by year, title, etc..so I guess I have to change
it manually.
I have changed the $INFO[ListItem.Label2] to $INFO[ListItem.Rating] for both itemlayout
and focusedlayout as follows, but the rating show up only on focused title.
I have not touched any other area in View_55_TriPanel.xml since it seems other places
have nothing to do with movie list, but I am complete novice for programming languages.
What else should I change?
-<itemlayout condition="Container.Content(movies)" width="806" height="70">
-<control type="image">
<posy>12</posy>
<width>806</width>
<height>60</height>
<texture border="1">separator2.png</texture>
</control>
-<control type="label">
<posx>15</posx>
<width>90</width>
<height>68</height>
<font>font15</font>
<textcolor>labelheader</textcolor>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label fallback="• • • •">$INFO[ListItem.Year]</label>
<visible>!IsEmpty(ListItem.Title)</visible>
</control>
-<control type="label">
<posx>110</posx>
<posy>0</posy>
<width>620</width>
<height>68</height>
<font>font15</font>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<label>$INFO[ListItem.Label]</label>
</control>
-<control type="label">
<posx>730</posx>
<posy>0</posy>
<width>620</width>
<height>68</height>
<font>font15</font>
<align>right</align>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<aligny>center</aligny>
<label>$INFO[ListItem.Label2]</label>
</control>
-<control type="image">
<posx>742</posx>
<posy>3</posy>
<width>64</width>
<height>64</height>
<aspectratio>keep</aspectratio>
<texture>$VAR[ListItem.Overlay]</texture>
</control>
</itemlayout>
-<focusedlayout condition="Container.Content(movies)" width="806" height="70">
-<control type="image">
<posy>12</posy>
<width>806</width>
<height>60</height>
<texture border="1">separator2.png</texture>
</control>
-<control type="image">
<width>806</width>
<height>70</height>
<texture border="4">listselect_fo.png</texture>
<visible>Control.HasFocus(55)</visible>
<include>VisibleFadeEffect</include>
</control>
-<control type="label">
<posx>15</posx>
<width>90</width>
<height>68</height>
<font>font15</font>
<selectedcolor>selected</selectedcolor>
<align>left</align>
<aligny>center</aligny>
<label fallback="• • • •">$INFO[ListItem.Year]</label>
<animation time="300" condition="!Control.HasFocus(55)" easing="inout" tween="sine" end="70" start="100" effect="fade">Conditional</animation>
<visible>!IsEmpty(ListItem.Title)</visible>
</control>
-<control type="label">
<posx>110</posx>
<posy>0</posy>
<width>620</width>
<height>68</height>
<font>font15</font>
<selectedcolor>selected</selectedcolor>
<label>$INFO[ListItem.Label]</label>
<animation time="300" condition="!Control.HasFocus(55)" easing="inout" tween="sine" end="70" start="100" effect="fade">Conditional</animation>
</control>
-<control type="label">
<posx>730</posx>
<posy>0</posy>
<width>620</width>
<height>68</height>
<font>font15</font>
<align>right</align>
<textcolor>grey2</textcolor>
<selectedcolor>selected</selectedcolor>
<aligny>center</aligny>
<label>$INFO[ListItem.Rating]</label>
</control>
-<control type="image">
<posx>742</posx>
<posy>3</posy>
<width>64</width>
<height>64</height>
<aspectratio>keep</aspectratio>
<texture>$VAR[ListItem.Overlay]</texture>
</control>
</focusedlayout>