{ "id": "175555", "key": "AC-6604", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": null, "resolutiondate": null, "created": "2020-09-21T14:31:02.000+0000", "labels": [ "android", "attributedString", "label" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-21T21:20:07.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When using the AttributedString on a label with the attribute ATTRIBUTE_BASELINE_OFFSET and a range only or a certain part of the text to modify in Android all the text in the label is modified, or is not applying the range. In iOS this work correctly.", "attachment": [ { "id": "67564", "filename": "Screenshot_1600698544.png", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2020-09-21T14:29:11.000+0000", "size": 32974, "mimeType": "image/png" }, { "id": "67565", "filename": "Simulator Screen Shot - iPhone X - 2020-09-21 at 16.15.06.png", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2020-09-21T14:28:51.000+0000", "size": 77275, "mimeType": "image/png" }, { "id": "67566", "filename": "test-as.zip", "author": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "created": "2020-09-21T14:27:24.000+0000", "size": 8662313, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Titanium.UI.AttributedString with Ti.UI.ATTRIBUTE_BASELINE_OFFSET", "creator": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "jogios", "key": "jogios", "displayName": "Jose Enrique", "active": true, "timeZone": "Europe/Madrid" }, "environment": "MacOS Catalina 10.15.6\r\nCLI version 5.2.2\r\nTitanium SDK version 9.0.3.GA", "comment": { "comments": [ { "id": "456973", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jogios], I recommend that you use the superscript/subscript styles instead. That will work on both platforms... with the only limitation being you can't control the offset.\r\n\r\nCurrently, Android's baseline offset sets the entire \"line\" height/padding.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-21T20:07:10.000+0000", "updated": "2020-09-21T20:07:10.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }