jQWidgets Forums

jQuery UI Widgets Forums Editors ScrollBar, Slider, BulletChart, RangeSelector Scrollbar – and proportional change

This topic contains 2 replies, has 2 voices, and was last updated by  alastairwalker 9 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Scrollbar – and proportional change #80331

    alastairwalker
    Participant

    In the demo:

    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxscrollbar/index.htm

    if you try to set up a small set of steps (say range of 1,2,3,4,5 with a step size of 1), as in
    $(“#jqxVerticalScrollBar”).jqxScrollBar({ step:1, width: 18, height: 280, min: 1, max: 5, vertical: true});

    the displayed steps are not proportional. The initial step is about 98%, and the last step is 100%. That is odd.

    It should be proportional for each step i.e. 20%, 40%, 60%, 80%, 100%.

    Is this intentional – i.e. nonlinear or non-proportional display?

    Is there any way to make the visual changes in scroll display proportional to the size of the step increment?

    Many thanks,

    Alastair

    Scrollbar – and proportional change #80337

    Peter Stoev
    Keymaster

    Hi Alastair,

    The jqxScrollBar’s behavior is by design and it behaves according to its display algorithm which we consider is right. In addition, the widget does not display step and the thumb’s size is not a step i.e that 98% is not a step, it is called thumb which you move left, right, up, down depending on the scrollbar. In the API you can read what step is: “Sets or gets the scrollbar’s step. The value is increased/decreased with this step when the user presses a scrollbar button.” i.e it defines what happens when you click a button.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Scrollbar – and proportional change #80371

    alastairwalker
    Participant

    OK – I understand. I will substitute a scrollbar widget from a different widget family.

    Alternatively, if there is a small software change I can make to the jqxscrollbar.js, I could do that. Is that possible?

    Many thanks,

    Alastair

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.