{ "id": "63089", "key": "TIMOB-2457", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:20:17.000+0000", "created": "2011-04-15T03:20:16.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "button", "ios", "label" ], "versions": [], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T21:37:08.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}

Hi,
\nI'm creating an app for iPad, tested in 3.2.2 and 4.2.1
\nI use a custom button to create an iPhone style button.

\n
\nvar btn = Ti.UI.createButton({\n        backgroundImage:'img/btn.png',\n        backgroundSelectedImage:'img/btn_o.png',\n        height:57,\n        width:200\n    });\nvar lblBtn = Ti.UI.createLabel({\n        color:'#fff',\n        font:{fontSize:12,fontWeight:'bold'},\n        shadowColor:'#000',\n        shadowOffset:{x:1,y:1},\n        right:0,\n        left:0,\n        height:'auto',\n        text:'My button',\n        textAlign:'center'\n    })\nbtn.add(lblBtn);\n
\n

This code reproduce a button with a title with shaddow. This\nwork perfectly in 1.4.3, but NOT in 1.5.0.
\nIf my image is opaque i don't see this label, but if has an\nopacity, i see the label below the backgroundImage.

{html}", "attachment": [], "flagged": false, "summary": "Error in Label on Button on 1.5.0 (11/29/2010)", "creator": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128516", "author": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hi, i teste the final version of 1.5.0 and now this was\ncorrected.

{html}", "updateAuthor": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:16.000+0000", "updated": "2011-04-15T03:20:16.000+0000" }, { "id": "128517", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Adriano

\n

You should not add a label to a button. Create a view and add\nboth the button and label to it.

\n

Stephen - for the above reasons, can this ticket be marked as\ninvalid?

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:16.000+0000", "updated": "2011-04-15T03:20:16.000+0000" }, { "id": "128518", "author": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Yes, this ticket can be marked as invalid.

\n

Thanks!

{html}", "updateAuthor": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:17.000+0000", "updated": "2011-04-15T03:20:17.000+0000" }, { "id": "128519", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Marking invalid, as above.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:17.000+0000", "updated": "2011-04-15T03:20:17.000+0000" }, { "id": "415415", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T21:37:08.000+0000", "updated": "2017-03-23T21:37:08.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }