Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27272] Android/iOS: Expose "tintColor" and "trackTintColor" for Ti.UI.Slider

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2019-10-08T13:56:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.3.0
ComponentsAndroid, iOS
Labelsn/a
ReporterHans Knöchel
AssigneeJan Vennemann
Created2019-07-23T10:42:15.000+0000
Updated2019-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();

Comments

  1. Jan Vennemann 2019-07-24

    PR: https://github.com/appcelerator/titanium_mobile/pull/11074
  2. Sohail Saddique 2019-10-04

    *FR Passed* Test environment
       Studio Ver:     5.1.4.201909061933
       SDK Ver:        8.3.0 (from PR)
       Mac OS Ver:     10.14.6
       Xcode Ver:      Xcode 11.0
       Appc NPM:       4.2.15
       Appc CLI:       7.1.1
       Node Ver:       10.16.3
       NPM Ver:        6.11.3
       Emulators:       ⇨ Pixel 3 (API 28), iPhone 11 Pro (13.0)
       
    Checked against 8.2.0.GA. Does not work on this build. Therefore FR: Passed.
  3. Sohail Saddique 2019-10-08

    Solution verified. Ticket closed.

JSON Source