Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3185] TableView row with label set with right property causes jumping

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-26T16:31:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterJaime Fuhr
AssigneeNeeraj Gupta
Created2011-04-15T03:39:00.000+0000
Updated2017-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.

Comments

  1. Stephen Tramer 2012-07-26

    Requires *complete* & valid test case.

    Ticket can be reopened when this is provided.
  2. Lee Morris 2017-03-09

    Closing this ticket as the request for more information has not been provided.

JSON Source