ADobe flex change basic skin style for dropdownlist

ADobe flex change basic skin style for dropdownlist

Postby haretu » Mon Mar 28, 2011 9:30 am

ADobe flex change basic skin style for dropdownlist
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<s:Application name="Spark_DropDownList_baseColor_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:s="library://ns.adobe.com/flex/spark">

    <mx:ApplicationControlBar width="100%" cornerRadius="0">
        <mx:Form styleName="plain">
            <mx:FormItem label="baseColor:">
                <mx:ColorPicker id="colorPicker"
                        selectedColor="#CCCCCC" />
            </mx:FormItem>
        </mx:Form>
    </mx:ApplicationControlBar>

    <s:DropDownList id="dropDownList"
            baseColor="{colorPicker.selectedColor}"
            requireSelection="true"
            horizontalCenter="0"
            top="50">
        <s:dataProvider>
            <s:ArrayList>
                <fx:String>(1) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(2) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(3) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(4) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(5) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(6) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(7) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(8) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
                <fx:String>(9) The Quick Brown Fox Jumps Over the Lazy Dog</fx:String>
            </s:ArrayList>
        </s:dataProvider>
    </s:DropDownList>

</s:Application>
haretu
 
Posts: 132
Joined: Sat Jan 08, 2011 9:56 pm

Return to Adobe FLEX Flash

Who is online

Users browsing this forum: No registered users and 1 guest

cron