Wrap-Bug in Labels / TableView?
I'm using Titanium Mobile SDK 1.3.2 / Android 2.1 / Linux Ubuntu Host. Since my update from 1.3.0 to 1.3.2 I have the issue that some labels wrap although there is enough space left. It didn't wrap in 1.3.0.
I've this issue in a TableView. The third label does always wrap although other rows contains much more characters. 10 other rows are displayed very well in the same tableView.
I'm creating my tableview like this:
Titanium.UI.createTableView({data: rows, separatorColor: '#eeeeee'});
A row is specified like this:
{title: 'domain.net',
id: 5,
name: 'site5',
site: site,
color: '#333333'}
I have the same issue in another view where I just output a label. About 20 other labels in the same view looks great, but one label wraps after 5 characters.
Update: It is displayed well on my Android 2.1 Device but not in Android Emulator (tested 1.6 & 2.1)
6 Answers
-
Update: The Bug appears only in higher resolutions. It appears in Android with Screen WVGA800 but not in Screen HVGA
-
I have this problem after upgrading too. Have you solve the problem?
-
i have this bug too, i can get rid of it by setting the width-property
-
I added Ticket 1304 to track the problem.
-
I had this issue as well after updating. Try setting the width of the row to something like 400px. (quick fix until they get the bug resolved)
{title: 'domain.net', id: 5, name: 'site5', site: site, color: '#333333', width: 400}
-
I had this issue as well after updating. Try setting the width of the row to something like 400px. (quick fix until they get the bug resolved)
{title: 'domain.net', id: 5, name: 'site5', site: site, color: '#333333', width: 400}