{ "id": "120844", "key": "TIMOB-15424", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-28T16:48:46.000+0000", "created": "2013-10-06T21:44:44.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-5.4.0", "scrollableView" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-06-09T17:45:07.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": "Every Ti SDK update, I have to manually edit the files to set my own custom colors for pageIndicatorColor and currentPageIndicatorColor:\r\n- TiUIScrollableView.h\r\n- TiUIScrollableView.m\r\n- TiUIScrollableViewProxy.h\r\n- TiUIScrollableViewProxy.m\r\n\r\nFollowing this GitHub repo: https://github.com/boardmain/TitaniumMods/tree/master/3.0.2.GA\r\n\r\nThis works well with Ti SDK 3.1.3, though I have to manually update them with each update of Ti SDK (adding *just* the pageIndicatorColor & currentPageIndicatorColor features)", "attachment": [], "flagged": false, "summary": "Allow ScrollableView to set pageIndicatorColor and currentPageIndicatorColor", "creator": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "subtasks": [], "reporter": { "name": "underlabs", "key": "underlabs", "displayName": "Joseph Sachs", "active": true, "timeZone": "America/Montreal" }, "environment": "Ti SDK 3.1.3+", "closedSprints": [ { "id": 614, "state": "closed", "name": "2016 Sprint 07 SDK", "startDate": "2016-03-26T00:38:56.432Z", "endDate": "2016-04-09T00:38:00.000Z", "completeDate": "2016-04-11T04:41:08.231Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "314711", "author": { "name": "dethier1958", "key": "dethier1958", "displayName": "Daniel Ethier", "active": true, "timeZone": "America/Chicago" }, "body": "This is a fairly simple change. I would also like to see this added to Titanium. Thanks.", "updateAuthor": { "name": "dethier1958", "key": "dethier1958", "displayName": "Daniel Ethier", "active": true, "timeZone": "America/Chicago" }, "created": "2014-07-17T21:27:56.000+0000", "updated": "2014-07-17T21:27:56.000+0000" }, { "id": "318993", "author": { "name": "bcproductions", "key": "bcproductions", "displayName": "Ed", "active": true, "timeZone": "America/Havana" }, "body": "+1 on this. Having hardcoded white indicators over light backgrounds renders them invisible. \r\n\r\nThe pageIndicatorTintColor and currentPageIndicatorTintColor properties have been available since iOS 6, and [Samuel has provided a patch|http://developer.appcelerator.com/question/148904/paging-control-color-sdk-update-if-u-need-it] for via on [github|https://github.com/boardmain/TitaniumMods/tree/master/3.0.2.GA]. \r\n\r\nIt would be great if this finally made it into the Ti SDK. Thanks!", "updateAuthor": { "name": "bcproductions", "key": "bcproductions", "displayName": "Ed", "active": true, "timeZone": "America/Havana" }, "created": "2014-08-17T06:10:04.000+0000", "updated": "2014-08-17T06:10:04.000+0000" }, { "id": "336722", "author": { "name": "brad.white@celdesigns.com", "key": "brad.white@celdesigns.com", "displayName": "Brad White", "active": true, "timeZone": "Australia/Sydney" }, "body": "+1 on having this included - the work is already done.", "updateAuthor": { "name": "brad.white@celdesigns.com", "key": "brad.white@celdesigns.com", "displayName": "Brad White", "active": true, "timeZone": "Australia/Sydney" }, "created": "2014-12-17T04:32:04.000+0000", "updated": "2014-12-17T04:32:04.000+0000" }, { "id": "343254", "author": { "name": "Bably Das", "key": "bably das", "displayName": "BABLY DAS", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please implement this change. Its an overhead to use external modules to get the color of the dots properly for Scrollable View. Thanks.", "updateAuthor": { "name": "Bably Das", "key": "bably das", "displayName": "BABLY DAS", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-13T12:49:41.000+0000", "updated": "2015-02-13T12:49:41.000+0000" }, { "id": "343515", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi All, we cannot accept the patch unless it is submitted against the titanium_mobile repository. Is someone able to do that?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-16T21:22:54.000+0000", "updated": "2015-02-16T21:22:54.000+0000" }, { "id": "349673", "author": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~ingo] Here's a PR: https://github.com/appcelerator/titanium_mobile/pull/6781\r\n\r\nI'm using Samueles patch since 3.2.0, it works just fine! Would love to see this in the official SDK (finally).", "updateAuthor": { "name": "manuellehner", "key": "manuellehner", "displayName": "Manuel Lehner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-15T11:50:10.000+0000", "updated": "2015-04-15T12:12:57.000+0000" }, { "id": "380746", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/7888\r\n\r\nDemo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\nvar scrollable = Ti.UI.createScrollableView({\r\n showPagingControl: true,\r\n pageIndicatorColor: \"red\",\r\n currentPageIndicatorColor: 'green',\r\n pagingControlColor: \"yellow\",\r\n});\r\n\r\nscrollable.addView(Ti.UI.createView({backgroundColor: \"darkgray\"}));\r\nscrollable.addView(Ti.UI.createView({backgroundColor: \"red\"}));\r\nscrollable.addView(Ti.UI.createView({backgroundColor: \"yellow\"}));\r\n\r\nwin.add(scrollable);\r\nwin.open();\r\n{code}\r\n\r\nThanks again [~manuellehner] for the initial PR and the great communication around the ticket!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-27T15:51:43.000+0000", "updated": "2016-03-27T15:53:51.000+0000" }, { "id": "384967", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "Has this been merged? is it going to make the upcoming release?", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2016-05-06T06:19:29.000+0000", "updated": "2016-05-06T06:19:29.000+0000" }, { "id": "387960", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, ScrollableView is now able to set {{pageIndicatorColor}} , {{currenPageIndicatorColor}} , and {{pagingControlColor}}\r\n\r\nTested On:\r\n\r\niPhone 6S (9.3.2) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160608165242\r\nAppc Studio: 4.6.0.201605180604\r\nAppc NPM: 4.2.7.-2\r\nApp CLI: 5.4.0-11\r\nXcode 7.3\r\nNode v4.2.6\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-09T17:44:38.000+0000", "updated": "2016-06-09T17:44:49.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }