Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35288

[FlexJS, MDL] slider step size can't be less than 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FlexJS 0.8.0
    • Apache FlexJS 0.8.0
    • FlexJS
    • None

    Description

      In the following app, trace statements should show a 0.1 increment, yet it's 1.

      <?xml version="1.0" encoding="utf-8"?>
      <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      				xmlns:js="library://ns.apache.org/flexjs/basic" 
      				xmlns:ns="library://ns.apache.org/flexjs/mdl"
      				>
      	<fx:Script>
      		<![CDATA[
      			import org.apache.flex.events.Event;
      			
      			protected function slider1_inputHandler(event:org.apache.flex.events.Event):void
      			{
      				trace(mySlider.value);
      			}
      			
      		]]>
      	</fx:Script>
      
      	<js:beads>
      		<js:BrowserResizeHandler/>
      	</js:beads>
      	<js:valuesImpl>
      		<js:SimpleCSSValuesImpl/>
      	</js:valuesImpl>
      	
      	<js:initialView>
      		<js:View width="100%" height="100%" id="myView">
      			<ns:Slider id="mySlider" minimum="0" maximum="5" stepSize="0.1" input="slider1_inputHandler(event)" width="100"/>
      		</js:View>
      	</js:initialView>
      </js:Application>
      

      Attachments

        Activity

          People

            pete21 Piotr Zarzycki
            yishayw Yishay Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: