{ "id": "61767", "key": "TIMOB-1135", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13277", "name": "Sprint 2012-08", "archived": true, "released": true, "releaseDate": "2012-04-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-30T17:48:41.000+0000", "created": "2011-04-15T02:44:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "parity", "qe-testadded" ], "versions": [ { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [ { "id": "14106", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "83467", "key": "TIMOB-6504", "fields": { "summary": "iOS: TableViewRow.font property not supported", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "14099", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63693", "key": "TIDOC-46", "fields": { "summary": "APIDoc: no tableView font properties supported at all. tableViewRow font-* properties not supported", "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" } }, "priority": { "name": "Trivial", "id": "5" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-10T05:51:29.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": "{html}

This was first asked in Q & A and then submitted by a\r\npremium customer. Users want to be able to set font properties on a\r\ntable without needing to use a label.

\r\n

Q&A question:
\r\n\r\nhttp://developer.appcelerator.com/question/33581/bug-table-row-font...

\r\n

Things to be able to set are size, font weight, and font.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Ability to set font properties on a tableViewRow", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "175186", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "See current Android behavior in screenshot in linked ticket", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-07T11:18:55.000+0000", "updated": "2011-12-07T11:18:55.000+0000" }, { "id": "175188", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Note that the native feature was deprecated in iOS3. See http://developer.apple.com/library/IOs/#documentation/UIKit/Reference/UITableViewCell_Class/Reference/Reference.html", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-07T11:47:56.000+0000", "updated": "2011-12-07T11:47:56.000+0000" }, { "id": "175189", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "As per discussion with Don in IRC #appcelerator, this will need to be documented as Android-only.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-07T11:54:16.000+0000", "updated": "2011-12-07T11:54:16.000+0000" }, { "id": "183735", "author": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "body": "I've checked TiUITableViewRowProxy.m file and found that it uses textLabel for \"title\" property which is UILabel. So UILabel can have \"font\" property which is not deprecated. Am I wrong?", "updateAuthor": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2012-02-19T05:39:38.000+0000", "updated": "2012-02-19T05:39:38.000+0000" }, { "id": "183736", "author": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "body": "There was a pull request for the issue but commit-er does not interested in the project anymore. I've re-organized the code and made a pull request.\r\n\r\nSee: https://github.com/appcelerator/titanium_mobile/pull/1466\r\n\r\nTested with iOS 5 SDK on iPhone Simulator.", "updateAuthor": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2012-02-19T07:57:41.000+0000", "updated": "2012-02-19T07:57:41.000+0000" }, { "id": "192725", "author": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "body": "Updated pull request with latest master and made changes about rolling back to system default font if it's not given.\r\n\r\nTested with:\r\nTitanium SDK version: 2.1.0 (04/26/12 12:38 9bd4b97)\r\niPhone SDK version: 5.1\r\n\r\nHere is the function test code:\r\n\r\n{code:js title=\"app.js\"}\r\nTitanium.UI.setBackgroundColor('white');\r\n\r\nvar window = Titanium.UI.createWindow();\r\n\r\nvar table = Titanium.UI.createTableView();\r\n\r\nvar row1 = Titanium.UI.createTableViewRow({\r\n\ttitle: 'Custom font #1',\r\n\tfont: {\r\n\t\tfontSize: 12,\r\n\t\tfontWeight: 'bold'\r\n\t},\r\n\tcolor: '#ff0000'\r\n});\r\n\r\nvar row2 = Titanium.UI.createTableViewRow({\r\n\ttitle: 'Default System Font'\r\n});\r\n\r\nvar row3 = Titanium.UI.createTableViewRow({\r\n\ttitle: 'Custom font #2',\r\n\tfont: {\r\n\t\tfontSize: 16,\r\n\t\tfontStyle: 'italic'\r\n\t},\r\n\tcolor: '#00ff00'\r\n});\r\n\r\nvar row4 = Titanium.UI.createTableViewRow({\r\n\ttitle: 'Default System Font'\r\n});\r\n\r\nvar row5 = Titanium.UI.createTableViewRow({\r\n\ttitle: 'Custom font #3',\r\n\tfont: {\r\n\t\tfont: 'TrebuchetMS',\r\n\t\tfontSize: 20\r\n\t},\r\n\tcolor: '#00d'\r\n});\r\n\r\ntable.setData([row1, row2, row3, row4, row5]);\r\nwindow.add(table);\r\nwindow.open();\r\n{code}", "updateAuthor": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2012-04-26T03:07:03.000+0000", "updated": "2012-04-26T03:07:03.000+0000" }, { "id": "192726", "author": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "body": "By the way TIMOB-6504 is duplicate of this issue.", "updateAuthor": { "name": "hdogan", "key": "hdogan", "displayName": "Hidayet Dogan", "active": true, "timeZone": "Europe/Istanbul" }, "created": "2012-04-26T03:22:09.000+0000", "updated": "2012-04-26T03:22:09.000+0000" }, { "id": "193239", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Community pull request merged. Credit to https://github.com/hdogan", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-30T17:48:41.000+0000", "updated": "2012-04-30T17:48:41.000+0000" }, { "id": "197760", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 2.1.0.v20120606162652 on iPod 3rd gen 4.0.2 and iPad Sim 5.1", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-07T14:10:39.000+0000", "updated": "2012-06-07T14:10:39.000+0000" }, { "id": "283449", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": " Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4940", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T05:51:29.000+0000", "updated": "2013-12-10T05:51:29.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }