Hi,

I want to use the accordion. My code for testing is:

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009";
xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:sp="spark.containers.*">
    <sp:Accordion creationPolicy="all">

        <s:VGroup>
            <s:Rect width="100" height="10">
                <s:fill>
                    <s:SolidColor color="0xFF0000"/>
                </s:fill>
            </s:Rect>
            <s:Rect width="100" height="100">
                <s:fill>
                    <s:SolidColor color="0x00FF00"/>
                </s:fill>
            </s:Rect>
        </s:VGroup>
        <s:VGroup>
            <s:Rect width="100" height="10">
                <s:fill>
                    <s:SolidColor color="0x0000FF"/>
                </s:fill>
            </s:Rect>
            <s:Rect width="100" height="100">
                <s:fill>
                    <s:SolidColor color="0xFF0000"/>
                </s:fill>
            </s:Rect>
        </s:VGroup>
    </sp:Accordion>
</s:View>

The result looks not like I hace expected:

<http://apache-flex-users.2333346.n4.nabble.com/file/t605/screenshot.png> 

Are there any examples how to use the component?



--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/

Reply via email to