{ "id": "63055", "key": "TIMOB-2423", "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": "11242", "name": "Release 1.6.0 M09", "archived": true, "released": true, "releaseDate": "2011-02-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:04.000+0000", "created": "2011-04-15T03:19:18.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "1.5.0", "background", "button", "ios", "label", "release-1.6.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:04.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
When adding a label to a button that has a background image the\nlabel is not shown. Removing the background image on the button\nshows the label.
\nzIndex issue?
Issue in the current 1.5.0 build.
\niPhone.
\nexample code:
\nvar button = Ti.UI.createButton({
\nwidth: 215,\nheight: 47,\ncolor: '#fff',\nbackgroundImage: '../../images/big-button.png',\ntop: 215
\n
\n}); var buttonLabel = Ti.UI.createLabel({
\ntext: 'Add a new search',\nwidth: 215,\nheight: 25,\nzIndex: 10,\ntextAlign: 'center',\ncolor: '#fff',\nshadowColor: '#333',\nshadowOffset: {x:1, y:1},\nfont: {\n fontSize: 20,\n fontWeight: 'bold'\n},\ntouchEnabled: false
\n
\n}); button.add(buttonLabel);
I can confirm this.
Tested 1.6.0RC1. Plausible bug, committed to bugtests.