<?xml version="1.0"
encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundGradientAlphas="[1.0, 1.0]"
backgroundGradientColors="[#8E4343, #8E4343]">
<mx:Panel title="NumericStepper Control" layout="horizontal" color="0xffffff" borderAlpha="0.15" width="500"
paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10" horizontalAlign="center" x="161" y="95">
<mx:VBox color="0x323232" horizontalAlign="center" borderColor="0xACACAC" borderStyle="solid" width="50%" height="100%">
<mx:Text width="100%" textAlign="center"
text="Default NumericStepper
control with a minimum=0, maximum=10, and stepSize=1."/>
<mx:NumericStepper/>
</mx:VBox>
<mx:VBox color="0x323232" horizontalAlign="center" borderColor="0xACACAC" borderStyle="solid" width="50%" height="100%">
<mx:Text width="100%" textAlign="center"
text="NumericStepper control with a
minimum=10, maximum=40, stepSize=0.01, and starting value of 20."/>
<mx:NumericStepper id="ns" minimum="10.00" maximum="40.00" stepSize="0.01" value="20.00" width="65"/>
</mx:VBox>
</mx:Panel>
</mx:Application>
No comments:
Post a Comment