Results 1 to 4 of 4

Thread: Slider weirdness with increments

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9237 in a recent build.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    25
    Vote Rating
    2
      0  

    Default Slider weirdness with increments

    If I create the following slider:

    Code:
    Ext.create('Ext.slider.Single', {
        width: 200,
        value: 1000,
        increment: 100,
        minValue: 50,
        maxValue: 1000,
        renderTo: Ext.getBody()
    });
    The value returned by getValue() is 1050 and the slider renders as if it's at the max value of 1000. I know that the value doesn't technically match up with the minValue and increment, but I would expect the getValue() to at least return 1000

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    What Ext JS 4.x.x version is this reported against?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Posts
    25
    Vote Rating
    2
      0  

    Default

    4.2.0

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •