Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9038] Android: Slider - Unable to set value to a slider with max property different from 100

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionDuplicate
Resolution Date2012-05-07T17:44:01.000+0000
Affected Version/sRelease 1.8.1, Release 1.8.2, Release 2.0.1
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterFlorent Suc
AssigneeNeeraj Gupta
Created2012-05-05T01:25:19.000+0000
Updated2017-03-21T22:40:10.000+0000

Description

Problem

The Slider is not working properly if max property is different from 100. Setting a value to the slider has no effect.

Test case

var statusSlider = Ti.UI.createSlider({
	min : 0,
	max : 150,
	minRange : 0,
	maxRange : 150,
	enabled : true,
	width : '180dp',
});

statusSlider.setValue(75);

Logs

No logs

Comments

  1. Neeraj Gupta 2012-05-07

    Duplicate of TIMOB-9000.
  2. Lee Morris 2017-03-21

    Closing ticket as duplicate.

JSON Source