{ "id": "165836", "key": "TIMOB-24386", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-02-15T10:33:36.000+0000", "created": "2017-02-08T13:08:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T17:15: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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "{{Label}} should layout its content accordingly when parent {{Window}} is resized. Note that this only effective on Store apps because you can't resize Window on phone apps.\r\n\r\n*Expected*\r\n\r\n{{Label}} should resize its content when parent {{Window}} is resized.\r\n\r\n*Actual*\r\n\r\n{{Label}} is not resized.\r\n\r\n{code}\r\nvar _window = Ti.UI.createWindow();\r\n\r\nvar label = Ti.UI.createLabel({\r\n height: Ti.UI.SIZE, width: Ti.UI.FILL,\r\n top: 0,\r\n text: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'\r\n});\r\n\r\n_window.add(label);\r\n_window.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Windows: Resize Label when Window is resized", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 839, "state": "closed", "name": "2017 Sprint 04 SDK", "startDate": "2017-02-12T23:36:00.961Z", "endDate": "2017-02-26T23:36:00.000Z", "completeDate": "2017-02-26T17:38:54.172Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "406951", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/952", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-02-14T03:42:08.000+0000", "updated": "2017-02-14T03:42:08.000+0000" }, { "id": "413735", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed in 6.1.0.v20170317104120 was able to see resize label when Window was resized.\r\n\r\n*Test Steps*\r\n+ Create a new classic titanium project\r\n+ Copy the code provided in the description\r\n+ Run the program from command line using the command {{appc run -p windows --wp-sdk 10.0 --target ws-local -l trace}}\r\n+ Resized the window and noticed label resized as well \r\n\r\n*Environment*\r\n{code:java}\r\nLocal windows 10.0.14393\r\nOperating System:\r\nName = Microsoft Windows 10 Pro\r\nVersion = 10.0.14393\r\nArchitecture = 32bit\r\nCPUs = 4\r\nMemory = 17034395648\r\n\r\nNode.js:\r\nNode.js Version = 4.6.0\r\nnpm Version = 2.15.9\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T17:15:38.000+0000", "updated": "2017-03-20T17:15:38.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }