2011-02-16, 01:13 PM
I'd like to centre the list on the screen but when I change the IconView's location attribute the list background moves but the list items do not. Is there another tag/attribute I need to modify?
Skin file contents (with modified attribute in bold):
Skin file contents (with modified attribute in bold):
Code:
<?xml version="1.0" encoding="utf-8"?>
<Skin>
<Element name="IconView" location="[B]10[/B],12.36" size="90,75.28" alpha="255" rows="3" columns="3">
<Rect location="0,0" size="50,0.3" fillColor="Accent2_Horizontal_FadeIn"/>
<Rect location="49.99,0" size="50.01,0.3" fillColor="Accent2_Horizontal_FadeOut"/>
<Rect location="0,0" size="100,100" fillColor="BaseColor1"/>
<Rect location="0,99.4" size="50,0.6" fillColor="Accent2_Horizontal_FadeIn"/>
<Rect location="49.99,99.4" size="50.01,0.6" fillColor="Accent2_Horizontal_FadeOut"/>
</Element>
<Element name="IconItem" location="3.09,15.45" size="26.6,22.9" alpha="255" alphaFade="true">
<RoundedRect visible="!@selected" location="0.77,0.77" size="98.45,98.45" fillColor="Normal_Icon" borderColor="Border2" radius="0.77" borderWidth="0.38"/>
<RoundedRect visible="@selected" location="0.77,0.77" size="98.45,98.45" fillColor="Selected_Icon" borderColor="Border2" radius="0.77" borderWidth="0.38"/>
<Image visible="!@selected" source="@previewImage" location="6,6" size="88,88" fixedAspectRatio="true" />
<Image visible="@selected" source="@previewImage" location="5,5" size="90,90" fixedAspectRatio="true" />
<Text text="@name" location="1.55,0" size="97,100" font="Default" align="Left" valign="Center"/>
</Element>
<Element name="IconSelectionMetaData" location="0,87.44" size="100,4.64" alpha="255" alphaFade="true">
<Rect location="-2,0" size="104,100" fillColor="BaseColor2"/>
<Text text="@name" location="0,0" size="100,100" font="Title1" align="Center" valign="Center"/>
<Text text="@positionInfo" location="0,0" size="95.36,100" font="Title3Minimum" align="Right" valign="Center"/>
</Element>
<Element name="ListPosition" location="50,87.44" size="90,4.64" alpha="255" alphaFade="true">
<Rect location="-2,0" size="104,100" fillColor="BaseColor2"/>
<Text text="@positionInfo" location="0,0" size="95.36,100" font="Title3Minimum" align="Right" valign="Center"/>
</Element>
</Skin>
My Projects
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]
Programs Plugin [SIZE=2](retired) | Volume OSD Plugin (retired) | Documentation Wiki (retired)[/SIZE]