[TIMOB-23329] Windows: Implement Ti.UI.TableView border properties
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-07-20T04:58:18.000+0000 |
| Affected Version/s | Release 5.3.0 |
| Fix Version/s | Release 6.0.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Gary Mathews |
| Created | 2016-05-05T14:11:10.000+0000 |
| Updated | 2016-10-14T17:34:56.000+0000 |
Description
Implement
borderColor, borderWidth, borderRadius for Ti.UI.TableView.
*sample code*
var win = Ti.UI.createWindow({ backgroundColor: 'red' }),
tableView = Ti.UI.createTableView({
width: '80%',
height: '80%',
backgroundColor: 'orange',
borderWidth: 5,
borderColor: 'yellow',
borderRadius: 5,
data: [{ title: 'Apples' }, { title: 'Bananas' }, { title: 'Carrots' }, { title: 'Potatoes' }]
});
tableView.addEventListener('click', function (e) {
alert(JSON.stringify(e.row.title));
});
win.add(tableView);
win.open();
*Expected*
!Capture.PNG|thumbnail!
Attachments
| File | Date | Size |
|---|---|---|
| Capture.PNG | 2016-07-20T04:28:41.000+0000 | 13139 |
master: https://github.com/appcelerator/titanium_mobile_windows/pull/781
Verified using: OS: Microsoft Windows 10 Pro 10.0.14393 Appc core: 6.0.0-58 Appc NPM: 4.2.8-7 Ti SDK: 6.0.0.v20161013072802 Appc Studio: 4.8.0.201610060953 Lumia 550 10.0 borderColor, borderWidth and borderRadius can now all be set on a TableView Closing ticket