2016-03-04, 14:41
Because sum of focusedlayout + number of itemlayout visible x itemlayout height has to be < to Container height. Max height here for Container is 356 x 3. I didn't checked it in my code.
<itemlayout width="1900" height="215">
<control type="group">
<top>40</top>
<control type="label">
<height>120</height>
<width>1908</width>
<right>24</right>
<align>right</align>
<aligny>center</aligny>
<font>Font27</font>
<textcolor>$INFO[Skin.String(Color.B1Txt1NF)]</textcolor>
<label>$INFO[ListItem.Label]</label>
</control>
</control>
</itemlayout>
<focusedlayout width="1900" height="215">
<control type="group">
<top>40</top>
<control type="group">
<width>636</width>
<height>318</height>
<right>24</right>
<control type="image">
<right>-15</right>
<top>0</top>
<width>380</width>
<height>215</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1ItemNF)]">common/white.png</texture>
</control>
<control type="image">
<right>-15</right>
<top>0</top>
<width>380</width>
<height>215</height>
<align>right</align>
<aspectratio>scale</aspectratio>
<texture background="true" colordiffuse="FFFFFFFF">$VAR[ThumbLandscape]</texture>
<visible>IsEmpty(ListItem.Property(ChannelName)) + IsEmpty(ListItem.ChannelName) + IsEmpty(ListItem.Property(labelID))</visible>
</control>
</control>
<control type="group">
<right>684</right>
<width>1000</width>
<height>318</height>
<control type="label">
<left>300</left>
<top>15</top>
<width>800</width>
<height>50</height>
<align>left</align>
<aligny>center</aligny>
<font>Font30</font>
<textcolor>FFFFFFFF</textcolor>
<label>$VAR[B1Title]</label>
</control>
<control type="label">
<left>300</left>
<top>150</top>
<width>200</width>
<height>50</height>
<align>left</align>
<aligny>center</aligny>
<font>FontSmallR</font>
<textcolor>FFFFFFFF</textcolor>
<label>$VAR[B1SubTitle]</label>
</control>
<control type="label">
<left>500</left>
<top>150</top>
<width>600</width>
<height>50</height>
<align>left</align>
<aligny>center</aligny>
<font>FontSmallR</font>
<textcolor>FFFFFFFF</textcolor>
<label>$VAR[B2SubTitle]</label>
</control>
<control type="textbox">
<top>60</top>
<left>300</left>
<width>900</width>
<height>90</height>
<font>FontSmall</font>
<align>justify</align>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.Plot]</label>
</control>
</control>
<control type="group">
<right>1</right>
<top>2</top>
<width>100</width>
<height>100</height>
<control type="image">
<right>0</right>
<top>0</top>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$VAR[CategoryColor]">common/corner.png</texture>
</control>
<control type="image">
<right>5</right>
<top>5</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
<visible>!ListItem.HasTimer + !ListItem.IsRecording + !ListItem.IsResumable</visible>
</control>
<control type="image">
<right>6</right>
<top>6</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/pause.png</texture>
<visible>ListItem.IsResumable</visible>
</control>
<!-- Recording image -->
<control type="image">
<right>5</right>
<top>5</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/record.png</texture>
<visible>ListItem.IsRecording</visible>
</control>
<!-- Timer image -->
<control type="image">
<right>5</right>
<top>5</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/clock.png</texture>
<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
</control>
<visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
</control>
</control>
</focusedlayout>
(2016-03-04, 19:21)reaven Wrote: This skin with all those custom list available for users what more can you ask for ?
(2016-03-04, 23:03)Jayz2K Wrote:(2016-03-04, 19:21)reaven Wrote: This skin with all those custom list available for users what more can you ask for ?
KOver 2 ?
(2016-03-04, 23:50)reaven Wrote:Ahaha perfect, I think I'll need this view soon. Very good work . Are you also need Kover everyday! It's like a drug. It is so inspiring. And I always want to break everything to start over my setup and view and new possibility.(2016-03-04, 23:03)Jayz2K Wrote:(2016-03-04, 19:21)reaven Wrote: This skin with all those custom list available for users what more can you ask for ?
KOver 2 ?
hahahawell of course !!
**note aside, with wraplist you would be able to have this same view but avoiding the spaces between unfocus items, right ?
Well this is my take:
(2016-03-05, 00:11)Jayz2K Wrote: I think you can reduce the space with the actual panel. Will fine tune it when I have some time.
(2016-03-05, 00:11)Jayz2K Wrote: I think you can reduce the space with the actual panel. Will fine tune it when I have some time.
(2016-03-18, 23:23)reaven Wrote:What is the height of your actual focusedlayout ?(2016-03-05, 00:11)Jayz2K Wrote: I think you can reduce the space with the actual panel. Will fine tune it when I have some time.
thats what i want, to reduce the space for the unfocused items, it could be done with custom_list or it have to be a fixed list ?
* I based this view on this one (from Aeon-Nox)
(2016-03-20, 12:49)Jayz2K Wrote:(2016-03-18, 23:23)reaven Wrote:What is the height of your actual focusedlayout ?(2016-03-05, 00:11)Jayz2K Wrote: I think you can reduce the space with the actual panel. Will fine tune it when I have some time.
thats what i want, to reduce the space for the unfocused items, it could be done with custom_list or it have to be a fixed list ?
* I based this view on this one (from Aeon-Nox)
<itemlayout width="1900" height="215">
<control type="group">
<top>60</top>
<control type="label">
<height>120</height>
<width>1908</width>
<right>24</right>
<align>right</align>
<aligny>center</aligny>
<font>Font27</font>
<textcolor>$INFO[Skin.String(Color.B1Txt1NF)]</textcolor>
<label>$INFO[ListItem.Label]</label>
</control>
<control type="image">
<right>9</right>
<top>50</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
<visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
</control>
</control>
</itemlayout>
<focusedlayout width="1900" height="215">
<control type="group">
<top>0</top>
<control type="group">
<width>636</width>
<height>318</height>
<right>24</right>
<control type="image">
<right>-15</right>
<top>0</top>
<width>380</width>
<height>215</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1ItemNF)]">common/white.png</texture>
</control>
<control type="image">
<right>-15</right>
<top>0</top>
<width>380</width>
<height>215</height>
<align>right</align>
<aspectratio>scale</aspectratio>
<texture background="true" colordiffuse="FFFFFFFF">$VAR[ThumbLandscape]</texture>
<visible>IsEmpty(ListItem.Property(ChannelName)) + IsEmpty(ListItem.ChannelName) + IsEmpty(ListItem.Property(labelID))</visible>
</control>
<control type="image">
<right>-15</right>
<top>215</top>
<bottom>0</bottom>
<width>380</width>
<height>50</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$VAR[CategoryColor]">common/white.png</texture>
</control>
<control type="label">
<right>-15</right>
<top>215</top>
<bottom>0</bottom>
<width>370</width>
<height>50</height>
<align>left</align>
<aligny>center</aligny>
<font>FontSmallR</font>
<textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
<label>$VAR[B1SubTitle]</label>
</control>
<control type="label">
<right>-15</right>
<top>215</top>
<bottom>0</bottom>
<width>370</width>
<height>50</height>
<align>right</align>
<aligny>center</aligny>
<font>FontSmallR</font>
<textcolor>$INFO[Skin.String(Color.B1Txt1F)]</textcolor>
<label>$LOCALIZE[20416] $INFO[ListItem.Premiered] </label>
</control>
</control>
<control type="group">
<right>684</right>
<width>1000</width>
<height>318</height>
<control type="label">
<left>400</left>
<top>15</top>
<width>800</width>
<height>50</height>
<align>right</align>
<aligny>center</aligny>
<font>Font36R</font>
<textcolor>$VAR[CategoryColor]</textcolor>
<label>$VAR[B1Title]</label>
</control>
<control type="image">
<left>1030</left>
<top>236</top>
<bottom>0</bottom>
<width>44</width>
<height>18</height>
<aspectratio>keep</aspectratio>
<texture>imdbW.png</texture>
<visible>!IsEmpty(ListItem.Rating)</visible>
</control>
<control type="label">
<description>Rating</description>
<left>1080</left>
<top>236</top>
<bottom>0</bottom>
<width>700</width>
<height>18</height>
<font>FontSmallR</font>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.Rating]</label>
</control>
<control type="image">
<left>822</left>
<top>220</top>
<width>700</width>
<height>50</height>
<aspectratio>keep</aspectratio>
<texture>$INFO[ListItem.Studio,resource://resource.images.studios.white/,.png]</texture>
</control>
<control type="label">
<description>Series title and season #</description>
<left>500</left>
<top>180</top>
<width>700</width>
<height>50</height>
<align>right</align>
<aligny>center</aligny>
<font>FontSmallR</font>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.TVShowTitle].S$INFO[ListItem.Season]E$INFO[ListItem.Episode]</label>
</control>
<control type="textbox">
<top>70</top>
<left>500</left>
<width>700</width>
<height>115</height>
<font>FontSmall</font>
<align>right</align>
<textcolor>FFFFFFFF</textcolor>
<label>$INFO[ListItem.Plot]</label>
</control>
</control>
<control type="group">
<right>1</right>
<top>2</top>
<width>100</width>
<height>100</height>
<control type="image">
<right>7</right>
<top>-2</top>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$VAR[CategoryColor]">common/corner.png</texture>
</control>
<control type="image">
<right>9</right>
<top>3</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/check.png</texture>
<visible>!ListItem.HasTimer + !ListItem.IsRecording + !ListItem.IsResumable</visible>
</control>
<control type="image">
<right>6</right>
<top>6</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/pause.png</texture>
<visible>ListItem.IsResumable</visible>
</control>
<!-- Recording image -->
<control type="image">
<right>5</right>
<top>5</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">osd/record.png</texture>
<visible>ListItem.IsRecording</visible>
</control>
<!-- Timer image -->
<control type="image">
<right>5</right>
<top>5</top>
<width>25</width>
<height>25</height>
<aspectratio>scale</aspectratio>
<texture colordiffuse="$INFO[Skin.String(Color.B1Txt1F)]">material/clock.png</texture>
<visible>ListItem.HasTimer + !ListItem.IsRecording</visible>
</control>
<visible>[Skin.HasSetting(WatchedFlag) + [Container.Content(movies) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(episodes) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(seasons) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | [Container.Content(tvshows) + stringcompare(ListItem.Overlay,OverlayWatched.png)] | ListItem.IsResumable] | ListItem.IsRecording | ListItem.HasTimer</visible>
</control>
</control>
</focusedlayout>