[TIMOB-3185] TableView row with label set with right property causes jumping
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2012-07-26T16:31:51.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Jaime Fuhr |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:39:00.000+0000 |
| Updated | 2017-03-09T23:53:25.000+0000 |
Description
When using a Label in a Grouped TableView and setting the 'right' property, the label jumps from left to right when the table is refreshed.
var tableview = Ti.UI.createTableView({
style:Titanium.UI.iPhone.TableViewStyle.GROUPED
});
var row = Ti.UI.createTableViewRow();
var timeIn = Ti.UI.createLabel({
text: checkInDateTime,
font:{fontSize:24},
right:5,
top:20,
height: 24,
width: '300',
textAlign: 'right'
});
It should be noted that this only happens after the first load of the data. On app start-up, the table displays fine. It's only when the table is refreshed using tableView.setData(theData) that the jumping occurs.
Requires *complete* & valid test case.
Ticket can be reopened when this is provided.Closing this ticket as the request for more information has not been provided.