Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1094] Android: incorrect auto height calculation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:11.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsAndroid
Labelsandroid, defect, tableview
ReporterJeff Haynie
AssigneeDon Thorp
Created2011-04-15T02:43:53.000+0000
Updated2011-04-17T01:55:11.000+0000

Description

If you run the Facebook demo (Query), you'll see that the layout is not correctly calculating the height of each row.

http://img.skitch.com/20100602-r1p3yefp5xb7g2rten62jiedrp.png" alt="android">

http://img.skitch.com/20100602-8kchc8ne1hsaumc3pn394skjrd.png" alt="iphone">

iPhone is correctly displaying.

It appears that maybe Android is disregarding the minRowHeight property on the table view.

var tableView = Ti.UI.createTableView({minRowHeight:100});

Comments

  1. Jeff Haynie 2011-04-15

    (from [66b08eb0445267964fc4b0992245f930582e582d]) [#1094 state:resolved] fixed android minRowHeight http://github.com/appcelerator/titanium_mobile/commit/66b08eb0445267964fc4b0992245f930582e582d"> http://github.com/appcelerator/titanium_mobile/commit/66b08eb044526...

JSON Source