Appcelerator Titanium - auto height table views break with shortish text

Posted by ceejayoz on Stack Overflow See other posts from Stack Overflow or by ceejayoz
Published on 2010-03-29T19:50:36Z Indexed on 2010/03/29 19:53 UTC
Read the original article Hit count: 687

I posted this on the Appcelerator Titanium dev Q&A site, but maybe someone here has had this issue...

KitchenSink 1.1 illustrates this issue. In table_view_api_auto_height.js, changing row:

addRow(0,'This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text. This is some long text.');

to something like:

addRow(0,'This is some long text. This is some long text.');

results in incorrect left padding on the row. See screenshot:

screenshot

© Stack Overflow or respective owner

Related posts about titanium

Related posts about appcelerator