[TIMOB-3081] Android: TableViewRow doesn't respect "layout" property
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2011-04-17T02:00:52.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | Release 1.6.0 M09 | 
| Components | Android | 
| Labels | android, defect, release-1.6.0, reported-1.6.0, tableview, tableviewrow | 
| Reporter | Marshall Culpepper | 
| Assignee | Marshall Culpepper | 
| Created | 2011-04-15T03:36:24.000+0000 | 
| Updated | 2011-04-17T02:00:52.000+0000 | 
Description
We need to pass it on to the underlying TiCompositeLayout. Test case (if they overlap fail, if they show one under the other, pass):
var row = Ti.UI.createTableViewRow({
  layout: 'vertical'
});
row.add(Ti.UI.createLabel({ text: 'test 1' }));
row.add(Ti.UI.createLabel({ text: 'test 2' }));
var table = Ti.UI.createTableView({
  data: [row]
});
win.add(table);
(from [117c1ea395327e7978b66b4489f58c6dadc31c4d]) pass on "layout" property to TiCompositeLayout from TableViewRows [#3081 state:fixed-in-qa] https://github.com/appcelerator/titanium_mobile/commit/117c1ea395327e7978b66b4489f58c6dadc31c4d"> https://github.com/appcelerator/titanium_mobile/commit/117c1ea39532...
[INFO] Titanium SDK version: 1.6.0 (02/08/11 20:55 bd9d124...) galaxy tab (2.2.2) G1 (1.6) Nexus S (2.3) sim 2.1