{ "id": "63427", "key": "TIMOB-2795", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-08-01T00:19:23.000+0000", "created": "2011-04-15T03:29:46.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_label", "qe-testadded" ], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-10T11:23:01.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
A label with 100% does not show up, but a label with 'auto'\nwidth does.
\nTitanium Mobile 1.6.0 pulled January 8th, 2011
\nBROKEN on Android Simulator 2.2
\nWORKS on iPhone Simulator 4.2
The following should show two labels. The labels only differ in\ntheir widths: auto, and 100%.
\nvar win = Ti.UI.createWindow({ backgroundColor: '#000' });\n\nwin.add(Titanium.UI.createLabel({\n text: 'You will see this label with width:auto',\n width: 'auto',\n top: 5\n}));\n\nwin.add(Titanium.UI.createLabel({\n text: 'But you will not see this label with width:100%',\n width: '100%',\n bottom: 5\n}));\n\nwin.open();
\n
\n\n