Kodi Community Forum

Full Version: Scroll offset tag?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In mediaportal there's a control tag that's used to offset at which point a list starts scrolling. (scrollOffset) For example, you can set it to 2 which makes your cursor stick to the 3rd position from below when scrolling down a list. As the two skinning engines are very related i was wondering if Kodi's had a similar option. I couldn't find anything in the wiki/google but wanted to make sure by asking here.
(2015-03-29, 20:02)XTails Wrote: [ -> ]In mediaportal there's a control tag that's used to offset at which point a list starts scrolling. (scrollOffset) For example, you can set it to 2 which makes your cursor stick to the 3rd position from below when scrolling down a list. As the two skinning engines are very related i was wondering if Kodi's had a similar option. I couldn't find anything in the wiki/google but wanted to make sure by asking here.

PHP Code:
<focusposition>2</focusposition
Thanks but that isn't available for the "List Container" control. (http://kodi.wiki/view/XBMC_Skinning_Manu..._Container) I tried it to be sure but the setting does nothing sadly. Any other ideas?
(2015-03-30, 19:12)XTails Wrote: [ -> ]Thanks but that isn't available for the "List Container" control. (http://kodi.wiki/view/XBMC_Skinning_Manu..._Container) I tried it to be sure but the setting does nothing sadly. Any other ideas?

Try it using a fixedlist control.

<control type="fixedlist" id="1234">
http://kodi.wiki/view/XBMC_Skinning_Manu..._Container
Ah, i see what you're getting at. I'll play around a little, thanks.