Kodi Community Forum
Can a Scrollbar auto-size? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+--- Thread: Can a Scrollbar auto-size? (/showthread.php?tid=171448)



Can a Scrollbar auto-size? - KidKiwi - 2013-08-17

Greeetings,

I've recently upgraded to Frodo on Linux, which meant I had to upgrade my skin as well - in this case Neon for Frodo.

I have a couple of smartplaylists that return "In Progress" items. When the list control gets to only a few items, the scrollbar is way too big for the list. Is it possible to make the scrollbar automatically re-size to be the same size as the returned list? Or perhaps disappear when the list gets to a certain size? (this option sounds more doable)

The wiki doesn't show auto-sizing as a possibility as far as I can see, and searching the forum didn't return any meaningful, so any help a greatly appreciated.

I'm not a skilled skinner by any stretch, so please be gentle Big Grin


RE: Can a Scrollbar auto-size? - Hitcher - 2013-08-17

You could use visible conditions based on the number of items in the list to display smaller scrollbars; or use <showonepage>false</showonepage> to hide it when there's only one page or less.


RE: Can a Scrollbar auto-size? - KidKiwi - 2013-08-17

(2013-08-17, 08:00)Hitcher Wrote: You could use visible conditions based on the number of items in the list to display smaller scrollbars; or use <showonepage>false</showonepage> to hide it when there's only one page or less.

Thx dude. I tried the <showonepage>false</showonepage> thingee and that did the trick. Much appreciated. Smile