{ "id": "104807", "key": "TIMOB-11732", "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": "15113", "description": "2013 Sprint 08 BB", "name": "2013 Sprint 08 BB", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "15106", "description": "2013 Sprint 08", "name": "2013 Sprint 08", "archived": true, "released": true, "releaseDate": "2013-04-22" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-04-10T18:02:48.000+0000", "created": "2012-11-10T17:44:22.000+0000", "priority": null, "labels": [ "blackberry", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T07:04:49.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Trying to set the width of a slider does not change the end of the slider in the correct position, but it allows you to go further to the right even if there is no visible slider.\r\nPlease see the shots for a better understanding :)\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor:'#f00'\r\n});\r\n\r\nwin.open();\r\n\r\n\r\n\r\n\r\nvar slider_ok = Titanium.UI.createSlider({\r\n top:10,\r\n min: 3,\r\n max: 26,\r\n value: 10\r\n});\r\n\r\n\r\nvar slider_wrong = Titanium.UI.createSlider({\r\n top:100,\r\n\twidth:300,\r\n min: 3,\r\n max: 26,\r\n value: 10\r\n});\r\n\r\n\r\n\r\nwin.add(slider_ok);\r\nwin.add(slider_wrong);\r\n{code}", "attachment": [ { "id": "33398", "filename": "Screen Shot 2012-11-10 at 18.39.41.png", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-10T17:44:22.000+0000", "size": 65365, "mimeType": "image/png" }, { "id": "33399", "filename": "Screen Shot 2012-11-10 at 18.39.46.png", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-11-10T17:44:22.000+0000", "size": 68853, "mimeType": "image/png" } ], "flagged": false, "summary": "BlackBerry: Titanium.UI.Slider - setting width to the slider only crops it, is not actually setting the right end where is should be.", "creator": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Simulator BB OS 10.0.9.386 \r\nOsX Mountain Lion\r\n\r\nTi SDK\r\n\r\nversion=2.2.0\r\nmodule_apiversion=2\r\ntimestamp=10/19/12 11:58\r\ngithash=6bf86d6\r\n", "comment": { "comments": [ { "id": "239561", "author": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "body": "I've tried editing the size of my sliders in the CuppaCoffee app of mine and this is a problem as the container view is being altered, not the actual control.", "updateAuthor": { "name": "stereoket", "key": "stereoket", "displayName": "Ketan Majmudar", "active": true, "timeZone": "Europe/London" }, "created": "2013-02-24T16:49:24.000+0000", "updated": "2013-02-24T16:49:24.000+0000" }, { "id": "279294", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nAppcelerator Studio: 3.2.0.201311122045\r\nSDK:3.2.0.v20131112180422\r\nalloy: 1.3.0\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0\r\ntitanium-code-processor: 1.0.3\r\nXcode:5.0.1\r\nDevice: Blackeberry Z 10\r\nOS: Mac OSX 10.9\r\nBB OS 10.0.10.261\r\n\r\nSlider working as expected even when set with width.Not cropping.\r\nHence closing the issue as working as expected.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T05:44:52.000+0000", "updated": "2013-11-13T05:44:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }