{ "id": "105495", "key": "TIMOB-11853", "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": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-11-26T17:05:58.000+0000", "created": "2012-11-26T11:53:06.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "23098", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "105494", "key": "TIMOB-11852", "fields": { "summary": "iOS: ActivityIndicator - Button click to change activity indicator message shifts the activity indicator and message to the left.", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:48:44.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": " Button click to change activity indicator message shifts the activity indicator and message to the left such that activity indicator is not visible and message gets truncated.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the app. You'll see the activity indicator with a message.\r\n3. Click the button 'text message2'.\r\n\r\nExpected:\r\nThe message should get change but should be fully visible along with the activity indicator.\r\n\r\nActual\r\nThe activity indicator and message gets shifted to the left such that activity indicator is not visible and message gets truncated.\r\n\r\n{code}\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'red',\r\n fullscreen:true\r\n\t\t \r\n});\r\n\r\nvar activityIndicator = Ti.UI.createActivityIndicator({\r\n\t\t color : 'green',\r\n\t\t font : {\r\n\t\t fontFamily : 'Helvetica Neue',\r\n\t\t fontSize : 26,\r\n\t\t fontWeight : 'bold'\r\n\t\t },\r\n\t\t message : 'Loading...',\r\n\t\t top : 0,\r\n\t\t left : 0,\r\n\t\t height: Ti.UI.SIZE,\r\n\t\t width: Ti.UI.SIZE\r\n\t\t});\r\n\t\t\r\nvar b2_2 = Ti.UI.createButton({\r\n\t\t title : \"text message 2\",\r\n\t\t top : 100,\r\n\t\t left : 10,\r\n\t\t width : 100,\r\n\t\t height : 70\r\n\t\t});\r\n\t\tb2_2.addEventListener(\"click\", function() {\r\n\t\t Ti.API.info(\"*********************** activityIndicator.message = \" + activityIndicator.message);\r\n\t\t activityIndicator.message = 'Continue loading ...';\r\n\t\t Ti.API.info(\"*********************** activityIndicator.message = \" + activityIndicator.message);\r\n\t\t});\r\n\t\t\r\n\t\twin1.add(activityIndicator);\r\n\t\tactivityIndicator.show();\r\n\t\t\r\nwin1.add(b2_2);\r\nwin1.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: ActivityIndicator - Button click to change activity indicator message shifts the activity indicator and message to the left.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.0.v20121121161553\r\nStudio: 3.0.0.201211202053\r\nOS:OSX 10.8\r\nDevice: iPhone4s(v 5.1), iPad3(v 6.0)", "comment": { "comments": [ { "id": "228432", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking as duplicate of linked issue", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-26T17:05:58.000+0000", "updated": "2012-11-26T17:05:58.000+0000" }, { "id": "414142", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:48:44.000+0000", "updated": "2017-03-20T22:48:44.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }