(2016-05-11, 22:04)DolGuldur Wrote: From this:
Code:
<control type="label">
<left>60</left>
<top>-3</top>
<width>555</width>
<height>38</height>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(AudioLanguage.1)]$INFO[ListItem.Property(AudioLanguage.2), / ]$INFO[ListItem.Property(AudioLanguage.3), / ]$INFO[ListItem.Property(AudioLanguage.4), / ]$INFO[ListItem.Property(AudioLanguage.5), / ]$INFO[ListItem.Property(AudioLanguage.6), / ]$INFO[ListItem.Property(AudioLanguage.7), / ]$INFO[ListItem.Property(AudioLanguage.8), / ]$INFO[ListItem.Property(AudioLanguage.9), / ]$INFO[ListItem.Property(AudioLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<visible>!Control.IsVisible(71)</visible>
</control>
To this:
Code:
<control type="image">
<left>60</left>
<top>-3</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(AudioLanguage.1),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(AudioLanguage.1)]$INFO[ListItem.Property(AudioLanguage.2), / ]$INFO[ListItem.Property(AudioLanguage.3), / ]$INFO[ListItem.Property(AudioLanguage.4), / ]$INFO[ListItem.Property(AudioLanguage.5), / ]$INFO[ListItem.Property(AudioLanguage.6), / ]$INFO[ListItem.Property(AudioLanguage.7), / ]$INFO[ListItem.Property(AudioLanguage.8), / ]$INFO[ListItem.Property(AudioLanguage.9), / ]$INFO[ListItem.Property(AudioLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<visible>!Control.IsVisible(71)</visible>
</control>
Subtitle Language
From this:
Code:
<control type="label">
<left>60</left>
<top>42</top>
<width>555</width>
<height>38</height>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
<visible>!Control.IsVisible(71)</visible>
</control>
To this:
Code:
<control type="image">
<left>60</left>
<top>42</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<font>Font_18A</font>
<label>$INFO[ListItem.Property(SubtitleLanguage.1)]$INFO[ListItem.Property(SubtitleLanguage.2), / ]$INFO[ListItem.Property(SubtitleLanguage.3), / ]$INFO[ListItem.Property(SubtitleLanguage.4), / ]$INFO[ListItem.Property(SubtitleLanguage.5), / ]$INFO[ListItem.Property(SubtitleLanguage.6), / ]$INFO[ListItem.Property(SubtitleLanguage.7), / ]$INFO[ListItem.Property(SubtitleLanguage.8), / ]$INFO[ListItem.Property(SubtitleLanguage.9), / ]$INFO[ListItem.Property(SubtitleLanguage.10), / ]</label>
<textcolor>FFFFFAF0</textcolor>
<scroll>true</scroll>
<scrollout>false</scrollout>
<animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
<visible>!Control.IsVisible(71)</visible>
</control>
Hello Dolguldur,
You've got a slight issue with your mods that is the problem. Hopefully the following info will help you get it working:
Your 'From' code above are both type "label" which uses the <label> tag but the 'To' are 'Image' which don't use <label> but use <texture>, so on that basis this is what your 'To' code should be
To this:
Code:
<control type="image">
<left>60</left>
<top>-3</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(AudioLanguage.1),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.2),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.3),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.4),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.5),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.6),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.7),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.8),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.9),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(AudioLanguage.10),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<visible>!Control.IsVisible(71)</visible>
</control>
Subtitle Language
To this:
Code:
<control type="image">
<left>60</left>
<top>42</top>
<width>auto</width>
<height>auto</height>
<texture>$INFO[ListItem.Property(SubtitleLanguage.1),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.2),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.3),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.4),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.5),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.6),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.7),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.8),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.9),flags/subtitles/flags/,.png] / $INFO[ListItem.Property(SubtitleLanguage.10),flags/subtitles/flags/,.png]</texture>
<aligny>top</aligny>
<animation effect="slide" end="0,-42" time="0" tween="sine" easing="out" condition="IsEmpty(ListItem.Property(AudioLanguage.1))">Conditional</animation>
<visible>!Control.IsVisible(71)</visible>
</control>
Give them a try and see if it helps you?
Mike