AAS: Erweiterung eines Elementes nach links

Beitrag lesen

Hier noch der Quellcode der XML.

<?xml version="1.0" encoding="utf-8"?>

<skin
    author="based on the work of Roman Plasil"
    name="Black Skin"
    width="66"
    height="22">

<layer name="background" type="fill-images">
        <geometry type="full">
            <padding left="0" top="0" right="0" bottom="0"/>
        </geometry>
        <contents>
            <image position="left" src="left_back.png" />
            <image position="center" repeat="true" src="repeat_back.png" />
            <image position="right" src="right_back.png" />
        </contents>

<!-- buttons -->

<layer name="Activate" type="button">
            <geometry type="absolute">
                <position x="5" y="3" align="left" />
                <size x="15" y="15" />
            </geometry>
            <contents>
                <action>
                    Activate
                </action>
                <normalImg src="normal_acti.png" />
                <overImg src="over_acti.png" />
                <downImg src="down_acti.png" />
            </contents>
        </layer>

<layer name="Prev" type="button">
            <geometry type="absolute">
                <size x="15" y="15" />
                <position x="20" y="3" align="left" />
            </geometry>
            <contents>
                <action>
                    Previous
                </action>
                <normalImg src="normal_prev.png" />
                <overImg src="over_prev.png" />
                <downImg src="down_prev.png" />
            </contents>
        </layer>

<layer name="Play" type="button">
            <geometry type="absolute">
                <size x="15" y="15" />
                <position x="35" y="3" align="left" />
            </geometry>
            <contents>
                <action>
                    Play
                </action>
                <normalImg src="normal_play.png" />
                <overImg src="over_play.png" />
                <downImg src="down_play.png" />
            </contents>
        </layer>

<layer name="Pause" type="button">
            <geometry type="absolute">
                <position x="50" y="3" align="left" />
                <size x="15" y="15" />
            </geometry>
            <contents>
                <action>
                    Pause
                </action>
                <normalImg src="normal_pause.png" />
                <overImg src="over_pause.png" />
                <downImg src="down_pause.png" />
            </contents>
        </layer>-->

<layer name="Stop" type="button">
            <geometry type="absolute">
                <size x="15" y="15" />
                <position x="65" y="3" align="left" />
            </geometry>
            <contents>
                <action>
                    Stop
                </action>
                <normalImg src="normal_stop.png" />
                <overImg src="over_stop.png" />
                <downImg src="down_stop.png" />
            </contents>
        </layer>

<layer name="Next" type="button">
            <geometry type="absolute">
                <size x="15" y="15" />
                <position x="80" y="3" align="left" />
            </geometry>
            <contents>
                <action>
                    Next
                </action>
                <normalImg src="normal_next.png" />
                <overImg src="over_next.png" />
                <downImg src="down_next.png" />
            </contents>
        </layer>

</layer>

<!-- spacer -->
        <layer name="spacer" type="absolute-images">
            <geometry type="absolute">
                <position x="0" y="0" align="left" />
                <size x="66" y="22" />
            </geometry>
            <contents>
            </contents>
        </layer>

<!-- text -->

<layer name="text" type="text">
        <geometry type="full">
            <padding left="110" top="3" right="5" bottom="0" />
        </geometry>
        <contents spacing="10" font="Arial" size="8">
 <defaultText>foobar2000</defaultText>
            <label position="left" color="ffffffff" font="Arial">%artist% '('%album%')' - %tracknumber% / %totaltracks% - %title%</label>
            <label position="right" color="ffffffff" size="8">%_time_elapsed% / %_length%</label>
        </contents>
    </layer>

</skin>