{ "id": "133435", "key": "TIMOB-17579", "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": null, "resolutiondate": null, "created": "2014-07-21T04:22:57.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "TCSupport", "clipmode", "ti.ui.size" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:05.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h4. Problem Description\r\nAs the example and the second screenshot shows, the image view (which is {{Ti.UI.SIZE}} by default) will stay contained in the smaller parent view, even though it has clipMode disabled.\r\n\r\nIf you would add the image view directly to the window you'd get the expected behaviour, also shown in the first screenshot.\r\n\r\nHello,\r\nWe have tested this issue with our sample code. Child view using Ti.UI.SIZE will NOT grow beyond a parent with clipMode disabled. It’s a bug.\r\n \r\n*TESTING ENVIRONMENT:*\r\n Titanium SDK: 3.3.0.GA and 3.2.3.GA\r\n Titanium CLI: 3.3.0\r\n OS X Version: 10.9.3\r\n Android API Level: 17 and 19\r\n \r\nh4. Steps to reproduce\r\n a) Create a simple project.\r\n b) Copy the Code Sample into app.js \r\n c) Run this with testing environment\r\n\r\nh4. Code Sample\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n\r\nvar view = Ti.UI.createView({\r\n width: 100,\r\n height: 100,\r\n backgroundColor: 'red',\r\n clipMode: Ti.UI.iOS.CLIP_MODE_DISABLED \r\n});\r\n\r\nvar image = Ti.UI.createImageView({\r\n image: '/Default.png'\r\n});\r\n\r\nview.add(image);\r\nwin.add(view);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "49898", "filename": "iOS Simulator Screen shot 20 Jul 2014 20.04.12.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-07-21T04:22:58.000+0000", "size": 522926, "mimeType": "image/png" }, { "id": "49897", "filename": "iOS Simulator Screen shot 20 Jul 2014 20.04.58.png", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-07-21T04:22:58.000+0000", "size": 52474, "mimeType": "image/png" } ], "flagged": false, "summary": "Child view using Ti.UI.SIZE will NOT grow beyond a parent with clipMode disabled", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 3.3.0.GA\r\nTitanium SDK: 3.3.0.GA and 3.2.3.GA\r\nTitanium CLI: 3.3.0\r\nOS X Version: 10.9.3\r\nAndroid API Level: 17 and 19", "comment": { "comments": [], "maxResults": 2, "total": 2, "startAt": 0 } } }