2015-11-01, 06:46
I seem to be having some issues with using the same container ID and showing InfoLabels out side of the container.
So if I use this the Label stays the same when moving to a different container.
And this works fine.
The full skin code is here if anyone wanted to take a look.
https://github.com/mikesilvo164/Aeon-Nox-SiLVO/tree/dev
and the xml I am working on
https://github.com/mikesilvo164/Aeon-Nox...idget1.xml
The above is just an example of the issue.
Does anyone have any ideas on why the first code does not work?
So if I use this the Label stays the same when moving to a different container.
Code:
<control type="group">
<visible>StringCompare(Container(9000).ListItem.Property(widgetStyle),Panel)</visible>
<control type="panel" id="8001">
<visible>StringCompare(Container(9000).ListItem.Property(widgetArt),Poster)</visible>
<include name="PanelWidget1">
<param name="Top">5</param>
</include>
<include name="PortraitArt">
<param name="Texture">$VAR[HomeWidgetPosterVar]</param>
<param name="Target">$INFO[Container(9000).ListItem.Property(widgetTarget)]</param>
<param name="Path">$INFO[Container(9000).ListItem.Property(widgetPath)]</param>
</include>
</control>
</control>
<control type="group">
<visible>StringCompare(Container(9000).ListItem.Property(widgetStyle),Panel2)</visible>
<control type="panel" id="8001">
<visible>StringCompare(Container(9000).ListItem.Property(widgetArt),Poster)</visible>
<include name="PanelWidget1">
<param name="Top">5</param>
</include>
<include name="PortraitArt">
<param name="Texture">$VAR[HomeWidgetPosterVar]</param>
<param name="Target">$INFO[Container(9000).ListItem.Property(widgetTarget)]</param>
<param name="Path">$INFO[Container(9000).ListItem.Property(widgetPath)]</param>
</include>
</control>
</control>
<control type="label">
<top>530</top>
<width>1440</width>
<height>auto</height>
<align>center</align>
<font>font13_title</font>
<label>$INFO[Container(8001).ListItem.Label]</label>
</control>
And this works fine.
Code:
<control type="panel" id="8001">
<visible>StringCompare(Container(9000).ListItem.Property(widgetStyle),Panel) + StringCompare(Container(9000).ListItem.Property(widgetArt),Poster)</visible>
<include name="PanelWidget1">
<param name="Top">5</param>
</include>
<include name="PortraitArt">
<param name="Texture">$VAR[HomeWidgetPosterVar]</param>
<param name="Target">$INFO[Container(9000).ListItem.Property(widgetTarget)]</param>
<param name="Path">$INFO[Container(9000).ListItem.Property(widgetPath)]</param>
</include>
</control>
<control type="panel" id="8001">
<visible>StringCompare(Container(9000).ListItem.Property(widgetStyle),Panel2) + StringCompare(Container(9000).ListItem.Property(widgetArt),Poster)</visible>
<include name="PanelWidget1">
<param name="Top">5</param>
</include>
<include name="PortraitArt">
<param name="Texture">$VAR[HomeWidgetPosterVar]</param>
<param name="Target">$INFO[Container(9000).ListItem.Property(widgetTarget)]</param>
<param name="Path">$INFO[Container(9000).ListItem.Property(widgetPath)]</param>
</include>
</control>
<control type="label">
<top>530</top>
<width>1440</width>
<height>auto</height>
<align>center</align>
<font>font13_title</font>
<label>$INFO[Container(8001).ListItem.Label]</label>
</control>
The full skin code is here if anyone wanted to take a look.
https://github.com/mikesilvo164/Aeon-Nox-SiLVO/tree/dev
and the xml I am working on
https://github.com/mikesilvo164/Aeon-Nox...idget1.xml
The above is just an example of the issue.
Does anyone have any ideas on why the first code does not work?
