[TIMOB-27272] Android/iOS: Expose "tintColor" and "trackTintColor" for Ti.UI.Slider
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-10-08T13:56:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.3.0 |
Components | Android, iOS |
Labels | n/a |
Reporter | Hans Knöchel |
Assignee | Jan Vennemann |
Created | 2019-07-23T10:42:15.000+0000 |
Updated | 2019-10-08T13:56:45.000+0000 |
Description
We need to override the Ti.UI.Slider track- and tint-colors which is already works for the Ti.UI.ProgressBar. Example:
var win = Ti.UI.createWindow({
backgroundColor: '#fff'
});
var slider = Ti.UI.createSlider({
width: 200,
min: 0,
max: 1,
value: 0.5,
tintColor: 'red',
trackTintColor: 'green'
});
win.add(slider);
win.open();
PR: https://github.com/appcelerator/titanium_mobile/pull/11074
*FR Passed* Test environment
Checked against 8.2.0.GA. Does not work on this build. Therefore FR: Passed.
Solution verified. Ticket closed.