0

在 Appcelerator Titanium 开发问答网站上发布了这个,但也许这里有人遇到过这个问题......

KitchenSink 1.1 说明了这个问题。在table_view_api_auto_height.js,改变行:

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.');

类似于:

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

导致行上的左填充不正确。看截图:

截图 http://img28.imageshack.us/img28/7987/screenshot20100329at244.png

4

1 回答 1

0

试试 textAlign: "left"; 在您的行声明中。这至少应确保文本与行的左侧对齐。如果这不能解决问题,请为该行分配一个宽度属性。那应该解决它。

于 2010-04-30T16:58:25.380 回答