Parent folder and View fixes

This commit is contained in:
DaVukovic 2019-08-13 20:04:10 +02:00
parent 2eb3e796bc
commit d2657b8c60
3 changed files with 110 additions and 103 deletions

View File

@ -1246,24 +1246,25 @@
<pagecontrol>60</pagecontrol>
<scrolltime>200</scrolltime>
<preloaditems>2</preloaditems>
<itemlayout height="127" width="425" condition="!Skin.HasSetting(Media_Titles_WideIcons)">
<itemlayout height="115" width="430" condition="!Skin.HasSetting(Media_Titles_WideIcons)">
<control type="image">
<posx>1</posx>
<posy>1</posy>
<width>423</width>
<height>125</height>
<height>110</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="image">
<posx>6</posx>
<posy>6</posy>
<posy>0</posy>
<width>413</width>
<height>90</height>
<aspectratio>keep</aspectratio>
<texture background="true">$VAR[BannerThumb]</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>100</posy>
<posy>85</posy>
<width>413</width>
<height>25</height>
<font>font11</font>
@ -1274,40 +1275,41 @@
<info>ListItem.Label</info>
</control>
<control type="image">
<posx>438</posx>
<posy>65</posy>
<width>35</width>
<height>35</height>
<posx>390</posx>
<posy>5</posy>
<width>25</width>
<height>25</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Overlay]</texture>
</control>
</itemlayout>
<focusedlayout height="127" width="425" condition="!Skin.HasSetting(Media_Titles_WideIcons)">
<focusedlayout height="115" width="430" condition="!Skin.HasSetting(Media_Titles_WideIcons)">
<control type="image">
<posx>1</posx>
<posy>1</posy>
<width>423</width>
<height>125</height>
<height>110</height>
<texture border="5">folder-focus.png</texture>
</control>
<control type="image">
<posx>6</posx>
<posy>6</posy>
<posy>0</posy>
<width>413</width>
<height>90</height>
<aspectratio>keep</aspectratio>
<texture background="true">$VAR[BannerThumb]</texture>
</control>
<control type="image">
<posx>438</posx>
<posy>65</posy>
<width>35</width>
<height>35</height>
<posx>390</posx>
<posy>5</posy>
<width>25</width>
<height>25</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Overlay]</texture>
</control>
<control type="label">
<posx>10</posx>
<posy>100</posy>
<posy>85</posy>
<width>538</width>
<height>25</height>
<font>font11</font>
@ -1318,19 +1320,20 @@
<label>$INFO[ListItem.Label]</label>
</control>
</focusedlayout>
<itemlayout height="102" width="475" condition="Skin.HasSetting(Media_Titles_WideIcons)">
<itemlayout height="100" width="430" condition="Skin.HasSetting(Media_Titles_WideIcons)">
<control type="image">
<posx>1</posx>
<posy>1</posy>
<width>473</width>
<height>100</height>
<width>423</width>
<height>90</height>
<texture border="5">button-nofocus.png</texture>
</control>
<control type="image">
<posx>6</posx>
<posy>6</posy>
<width>463</width>
<posy>0</posy>
<width>413</width>
<height>90</height>
<aspectratio>keep</aspectratio>
<texture background="true">$VAR[BannerThumb]</texture>
</control>
<control type="image">
@ -1342,19 +1345,20 @@
<texture>$INFO[ListItem.Overlay]</texture>
</control>
</itemlayout>
<focusedlayout height="102" width="475" condition="Skin.HasSetting(Media_Titles_WideIcons)">
<focusedlayout height="100" width="430" condition="Skin.HasSetting(Media_Titles_WideIcons)">
<control type="image">
<posx>1</posx>
<posy>1</posy>
<width>473</width>
<height>100</height>
<width>423</width>
<height>90</height>
<texture border="5">folder-focus.png</texture>
</control>
<control type="image">
<posx>6</posx>
<posy>6</posy>
<width>463</width>
<posy>0</posy>
<width>413</width>
<height>90</height>
<aspectratio>keep</aspectratio>
<texture background="true">$VAR[BannerThumb]</texture>
</control>
<control type="image">

View File

@ -87,77 +87,80 @@
<texture background="true" flipy="true" diffuse="diffuse_mirror2.png">$VAR[BannerThumb]</texture>
<fadetime>IconCrossfadeTime</fadetime>
</control>
<control type="label">
<description>Episodes txt</description>
<posx>115</posx>
<posy>145</posy>
<width>115</width>
<height>25</height>
<label>$LOCALIZE[20360]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Episodes Value</description>
<posx>130</posx>
<posy>145</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.episode] [COLOR=grey] ($INFO[ListItem.Property(WatchedEpisodes),, $LOCALIZE[16102]] - $INFO[ListItem.Property(UnWatchedEpisodes), , $LOCALIZE[16101]])[/COLOR]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
</control>
<control type="label">
<description>First Aired txt</description>
<posx>115</posx>
<posy>170</posy>
<width>165</width>
<height>25</height>
<label>$LOCALIZE[20416]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>First Aired Value</description>
<posx>130</posx>
<posy>170</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.premiered]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
</control>
<control type="label">
<description>Genre txt</description>
<posx>115</posx>
<posy>195</posy>
<width>115</width>
<height>25</height>
<label>$LOCALIZE[515]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Genre Value</description>
<posx>130</posx>
<posy>195</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.Genre]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
<control type="group">
<visible>!ListItem.IsParentFolder</visible>
<control type="label">
<description>Episodes txt</description>
<posx>115</posx>
<posy>145</posy>
<width>115</width>
<height>25</height>
<label>$LOCALIZE[20360]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Episodes Value</description>
<posx>130</posx>
<posy>145</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.episode] [COLOR=grey] ($INFO[ListItem.Property(WatchedEpisodes),, $LOCALIZE[16102]] - $INFO[ListItem.Property(UnWatchedEpisodes), , $LOCALIZE[16101]])[/COLOR]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
</control>
<control type="label">
<description>First Aired txt</description>
<posx>115</posx>
<posy>170</posy>
<width>165</width>
<height>25</height>
<label>$LOCALIZE[20416]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>First Aired Value</description>
<posx>130</posx>
<posy>170</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.premiered]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
</control>
<control type="label">
<description>Genre txt</description>
<posx>115</posx>
<posy>195</posy>
<width>115</width>
<height>25</height>
<label>$LOCALIZE[515]:</label>
<align>right</align>
<aligny>center</aligny>
<font>font11</font>
<textcolor>white</textcolor>
</control>
<control type="label">
<description>Genre Value</description>
<posx>130</posx>
<posy>195</posy>
<width>420</width>
<height>25</height>
<label fallback="416">$INFO[listitem.Genre]</label>
<align>left</align>
<aligny>center</aligny>
<font>font11</font>
<scroll>true</scroll>
</control>
</control>
<control type="image">
<posx>0</posx>
@ -224,7 +227,7 @@
<posy>310</posy>
<width>214</width>
<height>310</height>
<aspectratio>stretch</aspectratio>
<aspectratio>keep</aspectratio>
<bordertexture border="5" flipy="true" diffuse="diffuse_mirror2.png">button-nofocus.png</bordertexture>
<bordersize>5</bordersize>
<texture background="true" flipy="true" diffuse="diffuse_mirror2.png">$VAR[PosterThumb]</texture>
@ -256,7 +259,7 @@
<posy>310</posy>
<width>214</width>
<height>310</height>
<aspectratio>stretch</aspectratio>
<aspectratio>keep</aspectratio>
<bordertexture border="5" flipy="true" diffuse="diffuse_mirror2.png">folder-focus.png</bordertexture>
<bordersize>5</bordersize>
<texture background="true" flipy="true" diffuse="diffuse_mirror2.png">$VAR[PosterThumb]</texture>

View File

@ -28,12 +28,12 @@
</variable>
<variable name="BannerThumb">
<value condition="!IsEmpty(ListItem.Art(banner))">$INFO[ListItem.Art(banner)]</value>
<value condition="IsEmpty(ListItem.Art(banner))">$INFO[ListItem.Icon]</value>
<value condition="!String.IsEmpty(ListItem.Art(banner))">$INFO[ListItem.Art(banner)]</value>
<value>$INFO[ListItem.Icon]</value>
</variable>
<variable name="PosterThumb">
<value condition="!IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
<value condition="IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Icon]</value>
<value condition="!String.IsEmpty(ListItem.Art(poster))">$INFO[ListItem.Art(poster)]</value>
<value>$INFO[ListItem.Icon]</value>
</variable>
<include name="KeyboardButtonCommons">