[TIMOB-25497] Windows: Search bar does does not support changing color in the suggestion field
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2018-02-07T07:41:14.000+0000 |
Affected Version/s | Release 6.3.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Samir Mohammed |
Assignee | Kota Iguchi |
Created | 2017-11-09T23:34:25.000+0000 |
Updated | 2018-08-06T17:52:04.000+0000 |
Description
Search bar does does not support changing color in the suggestion field.
var win = Ti.UI.createWindow({
backgroundColor: 'red'
});
var tableData = [];
for (var i = 0, l = 100; i < l; i++) {
var row = Ti.UI.createTableViewRow({
_index: i,
rowColor: 'blue'
});
var titleLabel = Ti.UI.createLabel({
color : 'blue',
text: i,
});
row.add(titleLabel);
tableData.push(row);
}
var tableSearch = Titanium.UI.createSearchBar({
barColor:'blue',
showCancel:true,
height:43,
top:0,
});
var tableView = Ti.UI.createTableView({
data: tableData,
filterAttribute: '_index',
backgroundColor: 'red',
Color: 'blue',
filterAnchored: true,
search: tableSearch,
});
win.add(tableView);
win.open();
*Steps to reproduce*
+ Add the above code to an existing app.js
+ Build for Windows
+ Search for something ("6")
*Actual result*
Color of the suggestion field will stay gray and the user will not be able to read the item numbers
I was spending time trying to find a way to draw a background color onto the suggestion field, but ended up finding there's no API exposed for it for Windows
SearchBox
. So I would resolve this ticket as "Not Our Bug" for now.Closing as "not our bug". If you disagree, please reopen.