Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3599] Inconsistent use of Color in Titanium WIndows

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-05-08T04:39:20.000+0000
Affected Version/sAppcelerator Studio 4.3.0
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterDee Clawson
AssigneeShak Hossain
Created2016-05-05T19:39:33.000+0000
Updated2016-05-08T04:39:20.000+0000

Description

The color tag adjust the Background Color and not the Text Color in Windows 8.1 & 10 store. Example: var addBtn = Ti.UI.createButton({ title: 'Add', top: 0, height: 50, left: '10%', width: '39%', backgroundColor: "#f38d1d", color: "#ffffff", }); This would actually create a black button, not an orange button with black text.

Comments

  1. Sharif AbuDarda 2016-05-05

    Hello, According to your code, it should create an orange button with white text. Not black text. Are you developing for windows phone?
  2. Dee Clawson 2016-05-05

    My bad, it should create an orage button with white text. It does not. In the current 5.3 sdk it creates a white button. The background color is not being used in the titanium sdk on windows. It is using the color tag. There is no current way to adjust the text color on windows because the sdk is incorrectly using color tag and not backgroundColor.
  3. Dee Clawson 2016-05-06

    Found someone else reported this before me. It is a repeat of AC-3589 you can combine/close-out.
  4. Nazmus Salahin 2016-05-08

JSON Source