Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

Strange fixedlist behaviour

$
0
0
Hi, i have a problem with fixedlist controls in a group/grouplist. I don't understand the behavior of the fixedlist. When I navigate through the main menu items, all fixedlist controls are at position 1. After reloading and switching to another window and back, the following fixedlist controls start at position 2 the items have moved to the left and that i dont understand. Here is a simple code example:


<control type="group">
    <top>365</top> 
    <width>1332</width> 
    <height>325</height>  
    <control type="fixedlist" id="305">
        <visible>String.IsEqual(Container(300).ListItem.Property(submenuVisibility),videos)</visible>
        <width>1332</width>
        <height>325</height>              
        <preloaditems>2</preloaditems>                
        <focusposition>1</focusposition>
        <orientation>horizontal</orientation>                        
        <itemlayout height="325" width="222">
            <include>include.widget.poster</include>
        </itemlayout>
        <focusedlayout height="325" width="222">
            <include>include.widget.poster.focus</include>                   
        </focusedlayout>
        <content limit="10">special://skin/extras/playlists/RandomMovies.xsp</content>            
    </control>
    
    <control type="fixedlist" id="306">
        <visible>String.IsEqual(Container(300).ListItem.Property(submenuVisibility),tvshows)</visible>
        <width>1332</width>
        <height>325</height>             
        <preloaditems>2</preloaditems>                
        <focusposition>1</focusposition>
        <orientation>horizontal</orientation>
        <itemlayout height="325" width="222">
            <include>include.widget.poster</include>
        </itemlayout>
        <focusedlayout height="325" width="222">
            <include>include.widget.poster.focus</include>                  
        </focusedlayout>
        <content limit="10">special://skin/extras/playlists/RandomMovies.xsp</content>            
    </control>
    
    <control type="fixedlist" id="307">
        <visible>String.IsEqual(Container(300).ListItem.Property(submenuVisibility),music)</visible>
        <width>1332</width>
        <height>325</height>              
        <preloaditems>2</preloaditems>                
        <focusposition>1</focusposition>
        <orientation>horizontal</orientation> 
        <itemlayout height="325" width="222">
            <include>include.widget.poster</include>
        </itemlayout>
        <focusedlayout height="325" width="222">
            <include>include.widget.poster.focus</include>                   
        </focusedlayout>
        <content limit="10">special://skin/extras/playlists/RandomMovies.xsp</content>            
    </control>
</control>


Good:



Bad:



What is wrong here? Has someone an idea?

Viewing all articles
Browse latest Browse all 1803

Trending Articles