2011-08-24, 18:50
I am having a problem with the DialogSelect.xml for my mod of Fusion.
The list with the id 6 is supposed to show when handling addons and other content with an icon attached to them right?
The list with id 3 is supposed to show for everything else, the problem for me is that the list with id="6" is showing every freqkin time!
This results in things like this:
In other skin the 3 list is showing as it's supposed to, I have tried to compare the code but don't see anything wrong.
The list with the id 6 is supposed to show when handling addons and other content with an icon attached to them right?
The list with id 3 is supposed to show for everything else, the problem for me is that the list with id="6" is showing every freqkin time!
This results in things like this:
In other skin the 3 list is showing as it's supposed to, I have tried to compare the code but don't see anything wrong.
Code:
<window id="2000">
<defaultcontrol always="true">3</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<coordinates>
<system>1</system>
<posx>0</posx>
<posy>0</posy>
</coordinates>
<animation type="WindowOpen" reversible="false">
<effect type="fade" start="0" end="100" time="350" delay="0" />
<effect type="zoom" start="130" end="100" time="450" center="auto" delay="0" tween="back" easing="out" />
</animation>
<animation type="WindowClose" reversible="false">
<effect type="fade" start="100" end="0" time="250" delay="0" />
<effect type="zoom" start="100" end="130" time="300" center="auto" delay="0" />
</animation>
<controls>
<control type="image">
<posx>180</posx>
<posy>111</posy>
<width>942</width>
<height>482</height>
<texture>dialog/setcontentbg.png</texture>
</control>
<control type="image">
<posx>911</posx>
<posy>382</posy>
<width>171</width>
<height>171</height>
<aspectratio>stretch</aspectratio>
<texture border="8">dialog/previewbg.png</texture>
<colordiffuse>EBFFFFFF</colordiffuse>
<visible>Control.IsVisible(6)</visible>
</control>
<control type="image">
<description>Large Icon Image</description>
<posx>922</posx>
<posy>393</posy>
<width>150</width>
<height>150</height>
<info>Container(6).ListItem.Icon</info>
<align>center</align>
<aligny>center</aligny>
<aspectratio align="center" aligny="center">scale</aspectratio>
</control>
<control type="label" id="1">
<description>Heading</description>
<posx>222</posx>
<posy>145</posy>
<width>530</width>
<height>37</height>
<font>heading</font>
<align>left</align>
<aligny>center</aligny>
<textcolor>FF474747</textcolor>
</control>
<control type="list" id="3">
<posx>211</posx>
<posy>190</posy>
<width>689</width>
<height>337</height>
<onup>3</onup>
<onleft>9080</onleft>
<onright>9080</onright>
<ondown>3</ondown>
<pagecontrol>-</pagecontrol>
<scrolltime>0</scrolltime>
<visible>!Control.IsVisible(6)</visible>
<itemlayout height="37">
<control type="label">
<posx>15</posx>
<width>689</width>
<height>37</height>
<font>recent</font>
<aligny>center</aligny>
<align>left</align>
<info>ListItem.Label</info>
<scroll>false</scroll>
<textcolor>FF303030</textcolor>
</control>
</itemlayout>
<focusedlayout height="37">
<control type="image">
<width>689</width>
<height>37</height>
<texture>list/smalllistfo.png</texture>
<animation effect="fade" start="100" end="50" time="150" condition="Control.HasFocus(5) | Control.HasFocus(9080)">Conditional</animation>
</control>
<control type="label">
<posx>15</posx>
<width>689</width>
<height>37</height>
<font>recent</font>
<aligny>center</aligny>
<align>left</align>
<info>ListItem.Label</info>
<scroll>false</scroll>
<textcolor>white</textcolor>
</control>
</focusedlayout>
</control>
<control type="list" id="6">
<posx>211</posx>
<posy>190</posy>
<width>689</width>
<height>340</height>
<onup>6</onup>
<onleft>9080</onleft>
<onright>9080</onright>
<ondown>6</ondown>
<pagecontrol>-</pagecontrol>
<scrolltime>0</scrolltime>
<!--UNFOCUSED LAYOUT-->
<itemlayout width="600" height="84">
<control type="image">
<posy>47</posy>
<width>689</width>
<height>37</height>
<texture>list/listline.png</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>74</width>
<height>74</height>
<aspectratio align="center">keep</aspectratio>
<texture>$INFO[ListItem.ActualIcon]</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>74</width>
<height>74</height>
<aspectratio align="left">stretch</aspectratio>
<texture>$INFO[ListItem.Icon]</texture>
</control>
<control type="label">
<posx>90</posx>
<posy>3</posy>
<width>650</width>
<height>32</height>
<label>[b]$INFO[ListItem.Label][/b]</label>
<scroll>false</scroll>
<font>heading</font>
<aligny>center</aligny>
<textcolor>FF303030</textcolor>
</control>
<control type="label">
<posx>90</posx>
<posy>31</posy>
<width>590</width>
<height>100</height>
<label>$INFO[ListItem.Label2]</label>
<scroll>false</scroll>
<aligny>top</aligny>
<font>aired</font>
<aligny>center</aligny>
<textcolor>FF303030</textcolor>
</control>
<control type="label">
<posx>90</posx>
<posy>54</posy>
<width>590</width>
<height>50</height>
<label>$INFO[ListItem.Property(Addon.Summary)]</label>
<scroll>false</scroll>
<visible>!Container.Content(Movies) + !Container.Content(Episodes) + !Container.Content(TVShows)</visible>
<aligny>top</aligny>
<font>aired</font>
<aligny>center</aligny>
<textcolor>FF303030</textcolor>
</control>
</itemlayout>
<!--FOCUSED LAYOUT-->
<focusedlayout width="600" height="84">
<control type="image">
<width>689</width>
<height>84</height>
<texture>list/smalllistfo.png</texture>
<animation effect="fade" start="100" end="50" time="150" condition="Control.HasFocus(5) | Control.HasFocus(9080)">Conditional</animation>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>74</width>
<height>74</height>
<aspectratio align="center">keep</aspectratio>
<texture>$INFO[ListItem.ActualIcon]</texture>
</control>
<control type="image">
<posx>5</posx>
<posy>5</posy>
<width>74</width>
<height>74</height>
<aspectratio align="left">stretch</aspectratio>
<texture>$INFO[ListItem.Icon]</texture>
</control>
<control type="label">
<posx>90</posx>
<posy>3</posy>
<width>650</width>
<height>32</height>
<label>[b]$INFO[ListItem.Label][/b]</label>
<font>heading</font>
<aligny>center</aligny>
<textcolor>FFFFFFFF</textcolor>
</control>
<control type="label">
<posx>90</posx>
<posy>31</posy>
<width>590</width>
<height>100</height>
<label>$INFO[ListItem.Label2]</label>
<aligny>top</aligny>
<font>aired</font>
<aligny>center</aligny>
<textcolor>FFCFCFCF</textcolor>
</control>
<control type="label">
<posx>90</posx>
<posy>54</posy>
<width>590</width>
<height>100</height>
<label>$INFO[ListItem.Property(Addon.Summary)]</label>
<visible>!Container.Content(Movies) + !Container.Content(Episodes) + !Container.Content(TVShows)</visible>
<aligny>top</aligny>
<font>aired</font>
<aligny>center</aligny>
<textcolor>FFCFCFCF</textcolor>
</control>
</focusedlayout>
</control>
<control type="label" id="2">
<description>Number Of Files</description>
<posx>885</posx>
<posy>525</posy>
<width>100</width>
<label>-</label>
<align>right</align>
</control>
<control type="button" id="5">
<description>Manual</description>
<posx>916</posx>
<posy>220</posy>
<label>$LOCALIZE[368]</label>
<width>160</width>
<height>37</height>
<onup>9080</onup>
<onleft>3</onleft>
<onright>3</onright>
<ondown>9080</ondown>
<align>center</align>
<aligny>top</aligny>
<textoffsetx>5</textoffsetx>
<textoffsety>6</textoffsety>
<texturefocus>dialog/button.png</texturefocus>
<texturenofocus border="5">-</texturenofocus>
<colordiffuse>DCFFFFFF</colordiffuse>
<font>homemenu3</font>
<textcolor>ff707070</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>F99c9c9c</disabledcolor>
</control>
<control type="button" id="9080">
<description>Close Window button</description>
<posx>916</posx>
<posy>170</posy>
<width>160</width>
<height>37</height>
<label>Close</label>
<onclick>PreviousMenu</onclick>
<onup>5</onup>
<onleft>3</onleft>
<onright>3</onright>
<ondown>5</ondown>
<texturefocus>dialog/button.png</texturefocus>
<texturenofocus>-</texturenofocus>
<align>center</align>
<aligny>top</aligny>
<textoffsetx>5</textoffsetx>
<textoffsety>6</textoffsety>
<colordiffuse>DCFFFFFF</colordiffuse>
<font>homemenu3</font>
<textcolor>ff707070</textcolor>
<focusedcolor>ffffffff</focusedcolor>
<disabledcolor>F99c9c9c</disabledcolor>
</control>
</controls>
</window>