Kodi Community Forum
Different grouplist button move - 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: Different grouplist button move (/showthread.php?tid=364685)



Different grouplist button move - kenmoon - 2021-09-29

Hello

I 'd like to move inner grouplist button from the outer grouplist button. Here is my code to test.
xml:

<!-- outer group list -->
<control type="grouplist">
     <top>100</top>
     <left>100</left>
     <orientation>horizontal</orientation>
     <width>1800</width>
     <height>120</height>
     <itemgap>50</itemgap>
          <control type="button" id="1700">
               ...
          </control>
          <control type="button" id="1710">
               ...
          </control>
          <control type="button" id="1720">
               ...
          </control>

          <!-- inner group list -->
          <control type="grouplist">
               <width>1800</width>
               <height>120</height>
               <itemgap>25</itemgap>
               <orientation>horizontal</orientation>
                    <control type="button" id="1730">
                       ...
                    </control>
                    <control type="button" id="1740">
                       ...
                    </control>
                       
          </control>
</control>

I can not move 1720 to 1730.How to move from 1720(outer grouplist) to 1730(inner grouplist)? (i.e I need different item gap of two group list)


RE: Different grouplist button move - Hitcher - 2021-09-29

Does button 1720 have <ondown>1730</ondown>?


RE: Different grouplist button move - kenmoon - 2021-09-29

(2021-09-29, 15:41)Hitcher Wrote: Does button 1720 have <ondown>1730</ondown>?

Yes,it works with ondown tag. But I want to use <onright>. Is it not support onright?


RE: Different grouplist button move - Hitcher - 2021-09-29

Yes, I just thought it was a vertical list.