Hi have a couple of questions regarding the following...
![[Image: m9rBc4P.png]]()
Basically this doesn't seem to work for some controls such as images and buttons.
If I place an image and use <right>50</right> it just puts it on the left of the screen, not 50px from the right as I would expect, if however i put it in a group and set the groups width and height to be the same as the image and then use <right>50</right> in the group control then it works. For example...
![[Image: IrjYyFb.png]]()
The code for the image in the top left corner is
but it seems to ignore the <right> tag. The same seems to apply for buttons.
The poster on the right is in the correct place but as mentioned needs to be in a group...
Is there a reason I'm missing as to why this only seems to work in a group? Other controls such as lists seem to be okay.
![[Image: m9rBc4P.png]](http://i.imgur.com/m9rBc4P.png)
Basically this doesn't seem to work for some controls such as images and buttons.
If I place an image and use <right>50</right> it just puts it on the left of the screen, not 50px from the right as I would expect, if however i put it in a group and set the groups width and height to be the same as the image and then use <right>50</right> in the group control then it works. For example...
![[Image: IrjYyFb.png]](http://i.imgur.com/IrjYyFb.png)
The code for the image in the top left corner is
Code:
<control type="image">
<right>50</right>
<centertop>50%</centertop>
<width>467</width>
<height>700</height>
<aspectratio aligny="top">keep</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture colordiffuse="$VAR[PosterThumbColor]" background="true">$VAR[PosterThumb]</texture>
</control>
but it seems to ignore the <right> tag. The same seems to apply for buttons.
The poster on the right is in the correct place but as mentioned needs to be in a group...
Code:
<control type="group">
<right>50</right>
<top>190</top>
<width>467</width>
<visible>Control.IsVisible(50) + !Container.Content(Songs) + !Container.Content(MusicVideos)</visible>
<control type="image">
<left>0</left>
<top>0</top>
<width>467</width>
<height>700</height>
<aspectratio aligny="top">keep</aspectratio>
<fadetime>IconCrossfadeTime</fadetime>
<texture colordiffuse="$VAR[PosterThumbColor]" background="true">$VAR[PosterThumb]</texture>
</control>
</control>
Is there a reason I'm missing as to why this only seems to work in a group? Other controls such as lists seem to be okay.