Hi,
I am using xbmcgui.WindowXMLDialog
I tried to add a list via my xml or directly from the code, none of them is working!
XML
====
<control type=”list” id=”500″>
<description>My first list container</description>
<posx>80</posx>
<posy>400</posy>
<width>250</width>
<height>200</height>
<visible>true</visible>
<onup>101</onup>
<ondown>101</ondown>
<onleft>101</onleft>
<onright>101</onright>
<viewtype label=”3D list”>list</viewtype>
<orientation>vertical</orientation>
<pagecontrol>25</pagecontrol>
<scrolltime>200</scrolltime>
<itemlayout width=”250″ height=”29″>
<control type=”label”>
<posx>30</posx>
<posy>3</posy>
<width>430</width>
<height>22</height>
<font>font13</font>
<aligny>center</aligny>
<selectedcolor>green</selectedcolor>
<align>left</align>
<info>aaaaaaa</info>
</control>
</itemlayout>
</control>
Code:
=====
c = xbmcgui.ControlList(20,400,100,30,selectedColor=’0xFF00F030′,font=’font10′)
c.addItem(“Yohay”)
self.addControl©