{ "id": "63817", "key": "TIMOB-3185", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-07-26T16:31:51.000+0000", "created": "2011-04-15T03:39:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "19296", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:53:25.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

When using a Label in a Grouped TableView and setting the\n'right' property, the label jumps from left to right when the table\nis refreshed.

\n

var tableview = Ti.UI.createTableView({
\nstyle:Titanium.UI.iPhone.TableViewStyle.GROUPED
\n});

\n

var row = Ti.UI.createTableViewRow();

\n

var timeIn = Ti.UI.createLabel({
\ntext: checkInDateTime,
\nfont:{fontSize:24},
\nright:5,
\ntop:20,
\nheight: 24,
\nwidth: '300',
\ntextAlign: 'right'
\n});

\n

It should be noted that this only happens after the first load\nof the data. On app start-up, the table displays fine. It's only\nwhen the table is refreshed using tableView.setData(theData) that\nthe jumping occurs.

{html}", "attachment": [], "flagged": false, "summary": "TableView row with label set with right property causes jumping", "creator": { "name": "jaimefuhr", "key": "jaimefuhr", "displayName": "Jaime Fuhr", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jaimefuhr", "key": "jaimefuhr", "displayName": "Jaime Fuhr", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "209968", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "# Requires *complete* & valid test case.\r\n\r\nTicket can be reopened when this is provided.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T16:31:51.000+0000", "updated": "2012-07-26T16:31:51.000+0000" }, { "id": "411125", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the request for more information has not been provided.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:53:25.000+0000", "updated": "2017-03-09T23:53:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }