Kodi Community Forum
[HELP] Hiding scroll bar unless selected - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: [HELP] Hiding scroll bar unless selected (/showthread.php?tid=46700)



[HELP] Hiding scroll bar unless selected - ekim232 - 2009-03-10

I am working on a new window and I would like the scroll bar to not be visible until it is selected.

I have tried this within my scroll bar section (id61) in includes.xml for pm3.hd...

<visible>Control.IsVisible(57)</visible>
<animation type="visible" delay="1000" time="1000" condition="Control.HasFocus(61) + Control.IsVisible(57)">Conditional</animation>
</control>

id57 is my only window using this bar. I have also changed the animation type to focus. Any suggestions on what I am missing would be much appreciated. Thanks.


- jmarshall - 2009-03-10

<visible allowhiddenfocus="true">Control.IsVisible(57) + Control.HasFocus(61)</visible>

or similar is how it's usually done.


- ekim232 - 2009-03-10

You were right on. Thanks for the help and quick reply.