2012-04-12, 15:59
<label fallback="1">$INFO[Skin.String(MyName)]</label>
does not work for button control. Is this expected or is it a bug?
does not work for button control. Is this expected or is it a bug?
(2012-04-12, 17:01)pieh Wrote: by "does not work" You mean it will display fallback value or just nothing?
<variable name="MyVar">
<value condition="!IsEmpty(Skin.String(MyName))">$INFO[Skin.String(MyName)]</value>
<value>$LOCALIZE[1]</value>
</variable>
<control type="button" id="9292">
<description>Title label</description>
<posx>170</posx>
<posy>285</posy>
<height>30</height>
<width>1000</width>
<label fallback="1">$INFO[Skin.String(SubtitleScript_Path)]</label>
</control>
<control type="button" id="9292">
<description>Title label</description>
<posx>170</posx>
<posy>485</posy>
<height>30</height>
<width>1000</width>
<font>size22</font>
<label fallback="1">$INFO[Skin.String(SubtitleScript_Path)]</label>
</control>
<variable name="TEST">
<value condition="!IsEmpty(Skin.String(SubtitleScript_Path))">$INFO[Skin.String(SubtitleScript_Path)]</value>
<value>$LOCALIZE[1]</value>
</variable>
<control type="button" id="9292">
<description>Title label</description>
<posx>170</posx>
<posy>485</posy>
<height>30</height>
<width>1000</width>
<font>size22</font>
<label>$VAR[TEST]</label>
<!--<label fallback="1">$INFO[Skin.String(SubtitleScript_Path)]</label>-->
</control>