[TIMOB-24857] Windows: TableViewRow title should not show if the row has a child element
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2017-10-25T05:36:51.000+0000 |
Affected Version/s | Release 6.1.0, Release 6.1.1 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Kota Iguchi |
Created | 2017-06-20T10:45:42.000+0000 |
Updated | 2018-08-02T22:20:04.000+0000 |
Description
When setting title on a TableViewRow, if the row also has an element added to it then the title should not show, http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableViewRow-property-title
var _window = Ti.UI.createWindow();
var label = Ti.UI.createLabel({
text: 'I am label text'
});
var row = Ti.UI.createTableViewRow({
title: 'I am tableviewrow text'
});
row.add(label);
var table = Ti.UI.createTableView({
top: 10,
data: [row]
});
_window.add(table);
_window.open();
Steps to reproduce
Add the above to an existing app.js
Build for a windows target
Actual
Row showsI am tableviewrow text I am labeltext
Expected
Row should only showI am Label text
Attachments
File | Date | Size |
---|---|---|
ios.png | 2017-10-24T04:06:43.000+0000 | 7252 |
This happens on iOS too. Should we clone new ticket for iOS too? !ios.png|thumbnail!
I would keep this behavior because this happens on iOS too. Maybe we should think this a logical bug?
Closing old "Won't fix" tickets. If you disagree, please reopen.