PDA

View Full Version : Group of buttons doesn't show


Nuka1195
2007-06-20, 04:41
I have a group of buttons that are not showing. I can't tell if they are not positioning correctly anymore or what.

I know there was a change recently, but I've played around with adding x,y,w and h to the group with no luck.

Any suggestions?

Link to the full file.
http://xbmc-scripting.googlecode.com/svn/trunk/XBMC%20Lyrics/resources/skins/Default/PAL/script-XBMC_Lyrics-settings.xml

Here's the revelant code: ... == other controls

<coordinates>
<system>1</system>
<posx>162</posx>
<posy>96</posy>
</coordinates>

...
<control type="group" id="2000">
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<control type="button" id="250">
<description>Ok Button</description>
<posx>340</posx>
<posy>60</posy>
<width>90</width>
<height>32</height>
<align>center</align>
<aligny>center</aligny>
<label>-</label>
<font>font10</font>
<textcolor>ffffffff</textcolor>
<disabledcolor>60ffffff</disabledcolor>
<textoffsetx>17</textoffsetx>
<texturenofocus>default-keyboard-btn.png</texturenofocus>
<texturefocus>default-keyboard-btn-focus.png</texturefocus>
<onleft>9000</onleft>
<onright>9000</onright>
<onup>253</onup>
<ondown>251</ondown>
</control>
...
</control>

CHI3f
2007-06-20, 06:22
maybe it's because you are putting several control groups inside a grouplist. Try just using the control groups without the grouplist.

jmarshall
2007-06-20, 06:46
It's rendering offscreen (y coord is 1200 or so). Not sure why yet.

EDIT: Ok, I know the reason. Am researching a solution.

jmarshall
2007-06-20, 07:21
Fixed in revision 9346.

Nuka1195
2007-06-20, 15:50
Ah it's because I have those dummy controls in there hidden. Nice find.

Thank you :)