Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20621] Windows: Titanium.UI.ProgressBar 'color' property has no effect on text

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-04-07T13:54:22.000+0000
Affected Version/sRelease 5.2.0
Fix Version/sRelease 5.4.0
ComponentsWindows
Labelsparity, qe-5.4.0
ReporterKota Iguchi
AssigneeGary Mathews
Created2016-03-24T00:09:06.000+0000
Updated2016-06-27T17:04:08.000+0000

Description

The 'color' property of Titanium.UI.ProgressBar does not effect the text. The text stays "white" and thus invisible to a white background. The 'color' property only effects the color of the bar itself.

Comments

  1. Kota Iguchi 2016-03-24

    Per [~cwilliams] {quote} PS. the issue here is that 'color' changes the text on iOS. tintColor changes the "filled" color on iOS. 'trackTintColor' changes the color of the 'not filled" portion of the bar. On Android, 'color' changes the bar and not the text. There's no tintColor or trackTintColor property on Android. Looks like tintColor maps to http://developer.android.com/reference/android/widget/ProgressBar.html#attr_android:progressTint and trackTintColor maps to http://developer.android.com/reference/android/widget/ProgressBar.html#attr_android:progressBackgroundTint Ideally color should change the text color on both; tintColor should change the bar (fill) color on both, trackTintColor should change the "unfilled" color of the bar. {quote}
  2. Gary Mathews 2016-04-06

    PR: https://github.com/appcelerator/titanium_mobile_windows/pull/609
  3. Harry Bryant 2016-06-27

    Verified as fixed, Ti.UI.ProgressBar color property now correctly sets the text color, and tintColor andtrackTintColor sets the bar (fill) & bar (unfilled) color, respectively. Tested on: Windows 10 Pro Windows Phone 10.0 (Microsoft Lumia 640 LTE) Appc Studio: 4.7.0.201606220541 Ti SDK: 5.4.0.v20160617074028 Appc NPM: 4.2.7-2 Appc Core: 5.4.0-18 Node: v4.4.4 *Closing Ticket.*

JSON Source