Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3081] Android: TableViewRow doesn't respect "layout" property

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:00:52.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M09
ComponentsAndroid
Labelsandroid, defect, release-1.6.0, reported-1.6.0, tableview, tableviewrow
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:36:24.000+0000
Updated2011-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);

Comments

  1. Marshall Culpepper 2011-04-15

    (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...

  2. Thomas Huelbert 2011-04-15

    [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

JSON Source