Sorry, the code was I was using can be found below now. I am using:

<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml";
    xmlns:degrafa="com.degrafa.*"
    xmlns:paint="com.degrafa.paint.*"
    xmlns:geometry="com.degrafa.geometry.*"
    height="22">
    <degrafa:Surface verticalCenter="0" horizontalCenter="0">
        <degrafa:strokes>
            <paint:SolidStroke id="light"
                                color="#666666"
                                alpha="1"
                                weight="1"/>
        </degrafa:strokes>
       
        <!-- Creating a Geometry Group. -->
        <degrafa:GeometryGroup>
            <geometry:HorizontalLine    stroke="{light}"
                                        x="0"
                                        x1="{this.width}"/>
        </degrafa:GeometryGroup>
    </degrafa:Surface>

    <mx:HBox width="100%"  height="100%" backgroundColor="#FF0000" 
paddingLeft="4" horizontalGap="4" paddingTop="0">
        <mx:Image source="@Embed(source='assets/emptyIcon.png')" />
        <mx:Label text="{data}" color="#000000" />
    </mx:HBox>
   
    <degrafa:Surface verticalCenter="0" horizontalCenter="0">
        <degrafa:strokes>
            <paint:SolidStroke id="dark"
                                color="#333333"
                                alpha="1"
                                weight="1"/>
        </degrafa:strokes>
       
        <!-- Creating a Geometry Group. -->
        <degrafa:GeometryGroup>
            <geometry:HorizontalLine    stroke="{dark}"
                                        x="0"
                                        x1="{this.width}"/>
        </degrafa:GeometryGroup>
    </degrafa:Surface>   
</mx:VBox>

Reply via email to