[AC-3599] Inconsistent use of Color in Titanium WIndows
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-05-08T04:39:20.000+0000 |
Affected Version/s | Appcelerator Studio 4.3.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | n/a |
Reporter | Dee Clawson |
Assignee | Shak Hossain |
Created | 2016-05-05T19:39:33.000+0000 |
Updated | 2016-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.
Hello, According to your code, it should create an orange button with white text. Not black text. Are you developing for windows phone?
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.
Found someone else reported this before me. It is a repeat of AC-3589 you can combine/close-out.