[TIMOB-823] table view rows with height auto don't render properly (intermittently)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-28T00:23:38.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 2.0.1 |
Components | iOS |
Labels | auto |
Reporter | Nolan Wright |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:37:14.000+0000 |
Updated | 2017-03-09T01:02:31.000+0000 |
Description
http://helpdesk.appcelerator.net/tickets/2057">http://helpdesk.appcelerator.net/tickets/2057
source is attached to ticket. Click on splash screen, then click on "What's happening" box, the toggle table view by clicking buttons at the top. some of the rows do not paint correctly.
Comments
- Stephen Tramer 2011-04-15
Ticket is missing, no source code, this sounds like something that's been handled repeatedly since the initial date (almost a year ago!). Going to bump into triage for R&D discussion.
- Dawson Toth 2012-04-27
I think this is alright now, with the new layout changes.
Check out the following for confirmation:
It creates a random set of various sized rows using Ti.UI.SIZE to calculate the row heights. I don't see any visual defects. I also wasn't able to locate the original ticket, and thus the original reproduction is lost. Tested with latest CI build from today in the iPhone Simulator 5.1. {quote} version=2.1.0 module_apiversion=2 timestamp=04/27/12 10:48 githash=7fe2f1b {quote}var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var rows = []; for (var i = 0; i < 100; i++) { var row = Ti.UI.createTableViewRow({ height: Ti.UI.SIZE, layout: 'vertical' }); var rand = Math.random() * 5; var j = 0; while (j < rand) { row.add(Ti.UI.createLabel({ text: 'Row ' + i + ', Label ' + (j++), textAlign: 'center', color: '#000', height: Ti.UI.SIZE })); } rows.push(row); } win.add(Ti.UI.createTableView({ data: rows })); win.open();
- Dawson Toth 2012-04-27 Check out my last comment.
- Neeraj Gupta 2012-04-28 This issue has been resolved as part of composite layout change in 2.0 release. Resolving as per Dawson's comment.
- Olga Romero 2013-01-17 It does work on Simulator, but does not work on devices. Continuing investigation. Tested with: Titanium Studio, build: 3.0.1.201212181159 Titanium SDK, build: 3.0.0.GA iPad/iOS6.0 Simulator iPhone/6.0 Simulator iPhone4 5.1.1 iPad mini 6.0
- Lee Morris 2017-03-09 Closing ticket as fixed.