2016-01-11, 20:24
Hi guys,
I'm trying to make a control which has both text and images on the same line. I thought you can achieve this with a GroupList but my attempt has so far proven unsuccessful. Here's what I have:
Unfortunately, the image control ('MPAA flag') does not appear on the same line. I'm guessing I'm close but I can't figure out what's wrong and would really appreciate some help on where I've gone wrong.
Thank you.
I'm trying to make a control which has both text and images on the same line. I thought you can achieve this with a GroupList but my attempt has so far proven unsuccessful. Here's what I have:
PHP Code:
<control type="grouplist">
<description>My first group list control</description>
<orientation>horizontal</orientation>
<height>50</height>
<posy>-10</posy>
<control type="label">
<height>36</height>
<font>Mini</font>
<textcolor>Dark2</textcolor>
<label>$INFO[ListItem.RatingAndVotes, ,] • $INFO[ListItem.Year] • $INFO[ListItem.MPAA] • $INFO[ListItem.Duration,, $LOCALIZE[12391]]</label>
<aligny>center</aligny>
</control>
<control type="image">
<width>150</width>
<texture>$INFO[ListItem.MPAA,flags/mpaa/,.png]</texture>
</control>
</control>
Unfortunately, the image control ('MPAA flag') does not appear on the same line. I'm guessing I'm close but I can't figure out what's wrong and would really appreciate some help on where I've gone wrong.
Thank you.