Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1816

Grouplist with button - focus issue

$
0
0
Hi,

what I'm doing wrong?

I have custom skin layout:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<window type="window">

  <controls>

    <control type="grouplist" id="1000">
      <itemgap>100</itemgap>
      <onunfocus>-</onunfocus>
      <onfocus>-</onfocus>
      <usecontrolcoords>false</usecontrolcoords>

      <control type="textbox" id="10001">
        <description>Content</description>
        <width>800</width>
        <height>auto</height>
        <visible>true</visible>
        <aligny>top</aligny>
        <colordiffuse>FFFFFFFF</colordiffuse>
        <font>font12</font>
        <textcolor>FFFFFFFF</textcolor>
        <shadowcolor>66000000</shadowcolor>
        <label> Multiline large text </label>
      </control>

      <control type="button" id ="10002">
        <description>Play</description>
        <label>play</label>
        <width>120</width>
        <height>120</height>
        <focusedcolor>fce7e7e7</focusedcolor>
        <disabledcolor>04ffffff</disabledcolor>
        <pulseonselect>false</pulseonselect>
        <colordiffuse>2DFFFFFF</colordiffuse>
      </control>

      <control type="textbox" id="10003">
        <description>Title</description>
        <width>800</width>
        <height>auto</height>
        <visible>true</visible>
        <colordiffuse>FFFFFFFF</colordiffuse>
        <font>font14</font>
        <textcolor>FFFFFFFF</textcolor>
        <shadowcolor>66000000</shadowcolor>
        <label> Multiline large text </label>
      </control>

    </control>  

  </controls>


</window>

Problem is when scroll to bottom and the button get focus, so the grouplist scroll to top.
https://www.youtube.com/watch?v=-DS59zDx...e=youtu.be
(tested on Android and MacOS version)

Thx for help!

Viewing all articles
Browse latest Browse all 1816

Trending Articles