{ "id": "176075", "key": "TIMOB-28370", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-10T17:17:45.000+0000", "created": "2021-02-25T08:18:37.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "slider", "switch", "title" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-10T17:17:45.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": "*Summary:*\r\nWe should add \"title\" property support to {{Ti.UI.Switch}} when it is set to \"style\" {{Ti.UI.SWITCH_STYLE_SLIDER}}. This allows the text to the left of the switch to align perfectly next to it. \r\n\r\n*Note:*\r\nThe {{Ti.UI.Switch}} on Android already handles the \"textAlign\" property, which defaults to {{Ti.UI.TEXT_ALIGNMENT_LEFT}}. We were just missing the ability to set the text.\r\n\r\n*Example:*\r\n !SwitchTitleAndroid.png|thumbnail! ", "attachment": [ { "id": "67827", "filename": "SwitchTitleAndroid.png", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-25T08:22:25.000+0000", "size": 423416, "mimeType": "image/png" }, { "id": "67826", "filename": "SwitchTitleTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-02-25T08:19:32.000+0000", "size": 545, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Add \"title\" support to Ti.UI.Switch slider style", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "458315", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-01T20:52:20.000+0000", "updated": "2021-03-01T20:52:20.000+0000" }, { "id": "458341", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master and 10_0_X for 10.0.0 release target.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2021-03-05T15:56:16.000+0000", "updated": "2021-03-05T15:56:16.000+0000" }, { "id": "458751", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This change didn't get back-ported and is missing in the 10_0_X branch. We'll have to back-port the following commit.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/12353/commits/841c55ad5861b45e40a7f1f03bbdd1740ce297ff", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-09T18:34:58.000+0000", "updated": "2021-06-09T18:34:58.000+0000" }, { "id": "458754", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (10_0_X): https://github.com/appcelerator/titanium_mobile/pull/12876", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-06-09T22:07:04.000+0000", "updated": "2021-06-09T22:07:04.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }