switching layout fixed to layout wrap
#1
Hello there
I need your help!
I wish I could choose between a <itemlayout> Wrap .. and in a <itemlayout> in fixed
I saw this type of code
PHP Code:
</focusedlayout>
        <
itemlayout height="600" width="100" condition="![Control.IsVisible(961) + !Control.IsVisible(6000)] + !Skin.HasSetting(showcasezoom)"></itemlayout>
        <
focusedlayout height="525" width="858" condition="![Control.IsVisible(961) + !Control.IsVisible(6000)] + !Skin.HasSetting(showcasezoom)"></focusedlayout>
        <
itemlayout height="600" width="200" condition="![Control.IsVisible(961) + !Control.IsVisible(6000)] + Skin.HasSetting(showcasezoom)"></itemlayout>
        <
focusedlayout height="525" width="858" condition="![Control.IsVisible(961) + !Control.IsVisible(6000)] + Skin.HasSetting(showcasezoom)"></focusedlayout

But I do not understand where to start.
This is what I do
PHP Code:
<include name="viewPanel_Art">
    <
control type="image">
        <include>
transition_Info</include>
        <include>
toggle_Menu</include>
        <include>
transition_Content</include>
            <
top>100</top>
            <
left>0</left>
            <
width>1280</width>
            <
height>385</height>
            <
texture>frames/strip.png</texture>
            <
aspectratio>stretch</aspectratio>
            <
visible>Control.IsVisible(691)</visible>    
    </
control>
        <
control type="fixedlist" id="691">        
            <
viewtype label="Panel">Panel</viewtype>            
            <
left>55</left>
            <
top>115</top>
            <
width>1280</width>
            <
height>720</height>
            <
onup>6000</onup>
            <
ondown>71</ondown>
            <
onleft>691</onleft>
            <
onright>691</onright>
            <
focusposition>0</focusposition>
            <
pagecontrol>71</pagecontrol>
            <
orientation>horizontal</orientation>
            <include>
global_Scrolltime</include>
            <include>
transition_Content</include>
            <include>
transition_Info</include>
            <include>
toggle_Menu</include>
            <
visible>Container.Content(movies) | Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)</visible>
            <
itemlayout width="155" height="365">                
            <include>
viewPanel_Art-ContainerCommons</include>
            <
control type="image">
                <
width>270</width>
                <
height>365</height>
                <
texture background="true">$VAR[thumb_Portrait]</texture>    
                <
animation effect="rotatey" center="75" start="60" end="-22" time="0" condition="true">Conditional</animation>            
            <
aspectratio>scale</aspectratio>
            </
control>            
            </
itemlayout>
            <
focusedlayout  width="290" height="370">
            <include>
viewPanel_Art-ContainerCommons</include>                
            </
focusedlayout>
            <
itemlayout width="155" height="365" condition="![Control.IsVisible(691)] + !Skin.HasSetting(wrap)"></itemlayout>
        <
focusedlayout height="525" width="858" condition="![Control.IsVisible(691)] + !Skin.HasSetting(wrap)"></focusedlayout>
        <
itemlayout width="290" height="370" condition="![Control.IsVisible(691)] + Skin.HasSetting(wrap)"></itemlayout>
        <
focusedlayout width="290" height="370" condition="![Control.IsVisible(691)] + Skin.HasSetting(wrap)"></focusedlayout>
    
        </
control>
    </include> 

The animation that I added 'rotation "for a given winding effect give me a problem. If I disables it ,the layout does not replace properly.
Can you give me a direction! I need regular. thank you
Reply
#2
You can't switch in one list. You need a wraplist and a fixedlist and switch between them.
Image
Reply
#3
Ok thx Smile
Reply

Logout Mark Read Team Forum Stats Members Help
switching layout fixed to layout wrap0