2 lists in one View
#11
(2017-05-28, 22:09)tjost Wrote: Image

Code:
<?xml version="1.0" encoding="UTF-8"?>
<includes>
    <include name="View_511_Carousell">
        <control type="group">
            <visible>Control.IsVisible(511) + !Window.IsActive(addoninformation)</visible>
            <include>Zoom</include>
            <left>ViewInfoWallLeft</left>
            <top>-65</top>
            <control type="image">
                <description>background image</description>
                <left>140</left>
                <top>1080</top>
                <width>BackPanelInfoWallSquareWidth</width>
                <height>964</height>
                <texture border="40">panel_reflect.png</texture>
            </control>
            <control type="image">
                <description>background image</description>
                <left>140</left>
                <top>148</top>
                <width>BackPanelInfoWallSquareWidth</width>
                <height>964</height>
                <texture border="40">listpanel_back.png</texture>
            </control>
            <control type="image">
                <left>1110</left>
                <width>638</width>
                <top>178</top>
                <height>898</height>
                <texture>darky.png</texture>
                <animation effect="fade" start="0" end="100" time="500" delay="500">Conditional</animation>
            </control>
            <control type="fixedlist" id="511">
                <left>170</left>
                <top>179</top>
                <width>1000</width>
                <height>900</height>
                <onleft condition="Control.IsVisible(60)">60</onleft>
                <onleft condition="!Control.IsVisible(60)">SetProperty(MediaMenu,True,home)</onleft>
                <onleft condition="!Control.IsVisible(60)">SetFocus(9050)</onleft>
                <onright>SetFocus(5081,1)</onright>
                <onup>58</onup>
                <ondown>58</ondown>
                <pagecontrol>60</pagecontrol>
                <focusposition>1</focusposition>
                <preloaditems>2</preloaditems>
                <viewtype label="Carousel">list</viewtype>
                <scrolltime tween="Bounce" easing="inout">500</scrolltime>
                <visible>Container.Content(albums) | Container.Content(addons)</visible>
                <itemlayout height="300" width="300" condition="Container.Content(albums)">
                    <control type="image">
                        <width>300</width>
                        <height>300</height>
                        <aspectratio>scale</aspectratio>
                        <texture background="true">$INFO[ListItem.Icon]</texture>
                        <bordertexture border="2">thumbs/panel_border3.png</bordertexture>
                        <bordersize>2</bordersize>
                        <colordiffuse>44ffffff</colordiffuse>
                    </control>
                    <control type="image">
                        <width>300</width>
                        <height>300</height>
                        <texture>black.png</texture>
                        <bordersize>2</bordersize>
                        <colordiffuse>44ffffff</colordiffuse>
                    </control>
                    <control type="group">
                        <top>90</top>
                        <left>321</left>
                        <control type="label">
                            <width>680</width>
                            <height>60</height>
                            <font>font16_title_bold</font>
                            <textcolor>white</textcolor>
                            <scroll>true</scroll>
                            <label>$INFO[ListItem.Album]</label>
                            <textoffsetx>15</textoffsetx>
                        <colordiffuse>44ffffff</colordiffuse>
                        </control>
                        <control type="button">
                            <top>81</top>
                            <width>680</width>
                            <label>$INFO[ListItem.Artist,,[CR]]$INFO[ListItem.Year]$INFO[ListItem.Property(Album_Label), • ]</label>
                            <include>ShowCaseInfoPanelButtonsValuesNoSeperator</include>
                            <visible>Container.Content(albums) | Container.Content(addons)</visible>
                            <colordiffuse>44ffffff</colordiffuse>
                        </control>
                    </control>
                </itemlayout>
                <focusedlayout height="300" width="1000" condition="Container.Content(albums)">
                    <control type="image">
                        <width>300</width>
                        <height>300</height>
                        <aspectratio>scale</aspectratio>
                        <texture background="true">$INFO[ListItem.Icon]</texture>
                        <bordertexture border="2">thumbs/panel_border3.png</bordertexture>
                        <bordersize>2</bordersize>
                    </control>
                    <control type="image">
                        <width>300</width>
                        <height>300</height>
                        <texture>black.png</texture>
                        <bordersize>2</bordersize>
                        <colordiffuse>44ffffff</colordiffuse>
                        <include>FocusFadeOutAnimation</include>
                    </control>
                    <control type="image">
                        <width>300</width>
                        <height>300</height>
                        <texture border="10">thumbs/thumbnail_focused.png</texture>
                        <include>FocusFadeInAnimation</include>
                    </control>
                    <control type="group">
                        <top>90</top>
                        <left>321</left>
                        <control type="label">
                            <width>680</width>
                            <height>60</height>
                            <font>font16_title_bold</font>
                            <textcolor>white</textcolor>
                            <scroll>true</scroll>
                            <label>$INFO[ListItem.Album]</label>
                            <textoffsetx>15</textoffsetx>
                        </control>
                        <control type="button">
                            <top>81</top>
                            <width>680</width>
                            <label>$INFO[ListItem.Artist,,[CR]]$INFO[ListItem.Year]$INFO[ListItem.Property(Album_Label), • ]</label>
                            <include>ShowCaseInfoPanelButtonsValuesNoSeperator</include>
                            <visible>Container.Content(albums) </visible>
                        </control>
                        <control type="button">
                            <top>81</top>
                            <width>680</width>
                            <label>$INFO[ListItem.Title]</label>
                            <include>ShowCaseInfoPanelButtonsValuesNoSeperator</include>
                            <visible>Container.Content(addons) </visible>
                        </control>
                    </control>
                </focusedlayout>
            </control>
            <control type="scrollbar" id="60">
                <left>154</left>
                <top>179</top>
                <width>14</width>
                <height>900</height>
                <onright>50</onright>
                <onleft>SetProperty(MediaMenu,True,home)</onleft>
                <onleft>SetFocus(9050)</onleft>
                <ondown>60</ondown>
                <onup>60</onup>
                <showonepage>false</showonepage>
                <texturesliderbackground />
                <texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
                <texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
                <animation effect="fade" start="100" end="0" time="500" delay="500" condition="!Control.HasFocus(60) + !Container.Scrolling">Conditional</animation>
            </control>
        </control>
        <control type="group">
            <visible>Control.IsVisible(511)</visible>
            <control type="fixedlist" id="5081">
                <left>1110</left>
                <width>638</width>
                <top>116</top>
                <height>892</height>
                <aligny>center</aligny>
                <scrolltime tween="cubic" easing="out">500</scrolltime>
                <orientation>vertical</orientation>
                <movement>5</movement>
                <focusposition>5</focusposition>
                <pagecontrol>61</pagecontrol>
                <onleft>511</onleft>
                <onright>531</onright>
                <onup>5081</onup>
                <ondown>5081</ondown>
                <viewtype label="$LOCALIZE[40212]">list</viewtype>
                <focusedlayout height="80">
                    <control type="group">
                        <control type="image">
                            <left>0</left>
                            <right>0</right>
                            <height>80</height>
                            <texture>listselect_fo.png</texture>
                            <visible>Control.HasFocus(5081)</visible>
                        </control>
                        <control type="label">
                            <width>500</width>
                            <left>35</left>
                            <height>80</height>
                            <right>80</right>
                            <align>left</align>
                            <aligny>center</aligny>
                            <scroll>true</scroll>
                            <label>$INFO[ListItem.Label]</label>
                            <visible>Control.HasFocus(5081)</visible>
                        </control>
                        <control type="label">
                            <width>570</width>
                            <left>40</left>
                            <height>80</height>
                            <right>30</right>
                            <align>right</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Duration]</label>
                            <visible>Control.HasFocus(5081)</visible>
                        </control>
                    </control>
                </focusedlayout>
                <itemlayout height="80">
                    <control type="group">
                        <control type="label">
                            <width>500</width>
                            <left>35</left>
                            <height>80</height>
                            <right>80</right>
                            <align>left</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Label]</label>
                        </control>
                        <control type="label">
                            <width>570</width>
                            <left>40</left>
                            <height>80</height>
                            <right>30</right>
                            <align>right</align>
                            <aligny>center</aligny>
                            <label>$INFO[ListItem.Duration]</label>
                        </control>
                    </control>
                </itemlayout>
                <content target="music">$INFO[Container(511).ListItem.DBID,musicdb://albums/]</content>
            </control>
        </control>
    </include>
</includes>

This is my Code now.
Why is one Song missing while not on Focus?

@ Guilouz thx for stealing my Idea and make it spread around the Community. I´m proud of my ideas Smile I try some new approaches.

@jurialmunkey i want this for the add-on view swell. Can you help?

Remove <visible>Control.HasFocus(5081)</visible> for your labels in your focusedlayout of second list.
 Estuary MOD V2 
Reply


Messages In This Thread
2 lists in one View - by tjost - 2017-05-24, 21:27
RE: 2 lists in one View - by Jeroen - 2017-05-25, 21:25
RE: 2 lists in one View - by jurialmunkey - 2017-05-27, 04:51
RE: 2 lists in one View - by Jeroen - 2017-05-27, 08:43
RE: 2 lists in one View - by Guilouz - 2017-05-28, 03:40
RE: 2 lists in one View - by manfeed - 2017-06-05, 20:22
RE: 2 lists in one View - by tjost - 2017-05-26, 21:18
RE: 2 lists in one View - by Guilouz - 2017-05-27, 00:20
RE: 2 lists in one View - by tjost - 2017-05-28, 10:35
RE: 2 lists in one View - by Guilouz - 2017-05-28, 14:13
RE: 2 lists in one View - by tjost - 2017-05-28, 22:09
RE: 2 lists in one View - by Guilouz - 2017-05-28, 22:53
RE: 2 lists in one View - by jurialmunkey - 2017-05-29, 09:45
RE: 2 lists in one View - by tjost - 2017-05-29, 08:23
RE: 2 lists in one View - by tjost - 2017-05-29, 16:29
RE: 2 lists in one View - by braz - 2017-05-29, 18:05
RE: 2 lists in one View - by tjost - 2017-05-29, 19:56
RE: 2 lists in one View - by braz - 2017-05-29, 20:05
RE: 2 lists in one View - by tjost - 2017-05-29, 21:02
RE: 2 lists in one View - by Guilouz - 2017-05-30, 00:36
RE: 2 lists in one View - by Hitcher - 2017-05-30, 07:37
RE: 2 lists in one View - by Guilouz - 2017-05-30, 12:51
RE: 2 lists in one View - by DaveBlake - 2017-05-30, 13:32
RE: 2 lists in one View - by Guilouz - 2017-05-30, 13:48
RE: 2 lists in one View - by braz - 2017-05-31, 04:35
RE: 2 lists in one View - by braz - 2017-05-30, 16:08
RE: 2 lists in one View - by jurialmunkey - 2017-05-31, 07:18
RE: 2 lists in one View - by braz - 2017-05-31, 07:25
RE: 2 lists in one View - by jurialmunkey - 2017-05-31, 07:33
RE: 2 lists in one View - by tjost - 2017-06-03, 21:39
RE: 2 lists in one View - by Angelinas - 2017-06-04, 00:26
RE: 2 lists in one View - by Angelinas - 2017-06-05, 20:49
RE: 2 lists in one View - by manfeed - 2017-06-05, 23:40
RE: 2 lists in one View - by manfeed - 2017-06-06, 09:50
RE: 2 lists in one View - by jurialmunkey - 2017-06-06, 10:28
RE: 2 lists in one View - by Angelinas - 2017-06-06, 14:22
RE: 2 lists in one View - by jjd-uk - 2017-06-06, 15:49
RE: 2 lists in one View - by DaveBlake - 2017-06-07, 15:34
RE: 2 lists in one View - by docwra - 2017-11-21, 12:57
RE: 2 lists in one View - by jurialmunkey - 2017-11-21, 21:08
RE: 2 lists in one View - by docwra - 2017-11-21, 23:24
RE: 2 lists in one View - by docwra - 2017-12-13, 11:46
RE: 2 lists in one View - by User 55003 - 2017-12-26, 13:36
RE: 2 lists in one View - by User 55003 - 2017-12-26, 14:22
RE: 2 lists in one View - by User 55003 - 2017-12-26, 14:23
RE: 2 lists in one View - by manfeed - 2018-03-22, 00:28
RE: 2 lists in one View - by tjost - 2018-03-23, 13:20
RE: 2 lists in one View - by Angelinas - 2018-03-23, 16:14
RE: 2 lists in one View - by manfeed - 2018-03-23, 16:40
RE: 2 lists in one View - by K0D1User1138 - 2018-05-25, 22:57
RE: 2 lists in one View - by K0D1User1138 - 2018-06-19, 01:01
RE: 2 lists in one View - by K0D1User1138 - 2018-06-24, 05:48
RE: 2 lists in one View - by wyrm - 2018-06-24, 14:52
RE: 2 lists in one View - by K0D1User1138 - 2018-06-24, 15:44
RE: 2 lists in one View - by wyrm - 2018-06-25, 03:28
RE: 2 lists in one View - by K0D1User1138 - 2018-06-25, 04:18
RE: 2 lists in one View - by wyrm - 2018-06-25, 08:15
RE: 2 lists in one View - by K0D1User1138 - 2018-06-25, 09:40
RE: 2 lists in one View - by nessus - 2018-06-26, 19:38
RE: 2 lists in one View - by K0D1User1138 - 2018-06-28, 11:11
RE: 2 lists in one View - by tjost - 2018-06-26, 15:10
RE: 2 lists in one View - by K0D1User1138 - 2018-06-29, 07:50
RE: 2 lists in one View - by K0D1User1138 - 2018-06-29, 21:23
Logout Mark Read Team Forum Stats Members Help
2 lists in one View1