Kodi Community Forum

Full Version: Cant figure out how a scrollbar works
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Been trying all night to add a scrollbar to the movie section of Alaska

id for Poster view is 50

id for the scrollbar is 60, though I've changed that to other numbers to see if that was my problem

I copied the hidden scrollbar from Aeon, which looks he used from the wiki, put the block of code in many different spots but no luck

This is the code:
Quote:<control type="scrollbar" id="60">
<description>My first scroll bar control</description>
<posx>305</posx>
<posy>663</posy>
<width>670</width>
<height>41</height>
<visible allowhiddenfocus="true">Control.IsVisible(50) + Control.HasFocus(60)</visible>
<texturesliderbackground>windows/scrollbarbackshowcase.png</texturesliderbackground>
<texturesliderbar>-</texturesliderbar>
<texturesliderbarfocus>-</texturesliderbarfocus>
<textureslidernib>windows/scrollbarnub-nofocus.png</textureslidernib>
<textureslidernibfocus>windows/scrollbarnub-focus.png</textureslidernibfocus>
<pulseonselect></pulseonselect>
<orientation>horizontal</orientation>
<showonepage>false</showonepage>
<onup>50</onup>
<ondown>50</ondown>
<onleft>60</onleft>
<onright>60</onright>

</control>

The scrollbar shows up and I can move it but it's not controlling the movies, thx to any replies....


**EDIT**

He did have these animations:
<include>Animation_HideShowcase</include>
<include>Animation_CommonFade</include>

I didn't think they were what controls the movies, so I just took them out?
Add <pagecontrol>60</pagecontrol> to the view you wish to control with this.
awesome, thx