Kodi Community Forum
Disable All Autoscroll - 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: Disable All Autoscroll (/showthread.php?tid=155261)



Disable All Autoscroll - monkey13 - 2013-02-07

Never skinned before and have done some reading of the manual and some guides. I want to disable autoscroll for any textbox in a skin. Am I right in thinking includes.xml is right for this and it should look like this?

Code:
<includes>
    <include name="ascroll">
      <autoscroll>false</autoscroll>
    </include>
    <default type="textbox">
      <include>ascroll</include>
    </default>
  </includes>




RE: Disable All Autoscroll - `Black - 2013-02-07

Doesn't work if autoscroll is overwritten... to make sure it's disabled, you have to edit (or at least check) every single textbox control in the skin.


RE: Disable All Autoscroll - monkey13 - 2013-02-07

Damn. I was hoping I wouldn't have to do that. I just wanted to test a theory and didn't really want to have to get too deep into skins.

I'm not 100% sure what you mean by overwritten? Would this apply in confluence?


RE: Disable All Autoscroll - mcborzu - 2013-02-07

(2013-02-07, 20:46)`Black Wrote: Doesn't work if autoscroll is overwritten... to make sure it's disabled, you have to edit (or at least check) every single textbox control in the skin.

couldn't you put it in <textbox> control in defaults.xml?


RE: Disable All Autoscroll - Hitcher - 2013-02-08

But if it exists in a textbox control as well it'll be overridden.


RE: Disable All Autoscroll - phil65 - 2013-02-08

(2013-02-07, 22:24)mcborzu Wrote:
(2013-02-07, 20:46)`Black Wrote: Doesn't work if autoscroll is overwritten... to make sure it's disabled, you have to edit (or at least check) every single textbox control in the skin.

couldn't you put it in <textbox> control in defaults.xml?

would be the quickest way (as long as the single controls in the skin donĀ“t override the autoscroll parameters)


RE: Disable All Autoscroll - `Black - 2013-02-08

(2013-02-07, 21:57)monkey13 Wrote: I'm not 100% sure what you mean by overwritten? Would this apply in confluence?

Default values get overwritten if you add them in the skin. They will only be used if you don't specify them. And yes, it applies to Confluence.




RE: Disable All Autoscroll - monkey13 - 2013-02-08

Ok. Thanks for the help.