{"action":"created","issue":{"url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/1","repository_url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C","labels_url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/1/comments","events_url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/1/events","html_url":"https://github.com/tomfriwel/TableViewHeaderCell-Objective-C/issues/1","id":230429867,"number":1,"title":"How to set the headercell's height to the headerview's height?","user":{"login":"xiaolouxinyue","id":8805601,"avatar_url":"https://avatars3.githubusercontent.com/u/8805601?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaolouxinyue","html_url":"https://github.com/xiaolouxinyue","followers_url":"https://api.github.com/users/xiaolouxinyue/followers","following_url":"https://api.github.com/users/xiaolouxinyue/following{/other_user}","gists_url":"https://api.github.com/users/xiaolouxinyue/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaolouxinyue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaolouxinyue/subscriptions","organizations_url":"https://api.github.com/users/xiaolouxinyue/orgs","repos_url":"https://api.github.com/users/xiaolouxinyue/repos","events_url":"https://api.github.com/users/xiaolouxinyue/events{/privacy}","received_events_url":"https://api.github.com/users/xiaolouxinyue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-22T15:17:24Z","updated_at":"2017-05-23T01:46:37Z","closed_at":null,"body":"I tried that:\r\n    NSTableHeaderView *header = self.tableView.headerView;\r\n    NSRect rect = header.frame;\r\n    header.frame = NSMakeRect(rect.origin.x, rect.origin.y, rect.size.width, 42);\r\nand the headercell's height can never be 42. can you figure out how to deal with it ?"},"comment":{"url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/comments/303266887","html_url":"https://github.com/tomfriwel/TableViewHeaderCell-Objective-C/issues/1#issuecomment-303266887","issue_url":"https://api.github.com/repos/tomfriwel/TableViewHeaderCell-Objective-C/issues/1","id":303266887,"user":{"login":"tomfriwel","id":11268235,"avatar_url":"https://avatars1.githubusercontent.com/u/11268235?v=3","gravatar_id":"","url":"https://api.github.com/users/tomfriwel","html_url":"https://github.com/tomfriwel","followers_url":"https://api.github.com/users/tomfriwel/followers","following_url":"https://api.github.com/users/tomfriwel/following{/other_user}","gists_url":"https://api.github.com/users/tomfriwel/gists{/gist_id}","starred_url":"https://api.github.com/users/tomfriwel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomfriwel/subscriptions","organizations_url":"https://api.github.com/users/tomfriwel/orgs","repos_url":"https://api.github.com/users/tomfriwel/repos","events_url":"https://api.github.com/users/tomfriwel/events{/privacy}","received_events_url":"https://api.github.com/users/tomfriwel/received_events","type":"User","site_admin":false},"created_at":"2017-05-23T01:46:37Z","updated_at":"2017-05-23T01:46:37Z","body":"@xiaolouxinyue You should custom `NSTableHeaderCell` like what I do in this repo.\r\nUsually, you cannot change the header cell's just by setting its frame."}}
{"actor":{"display_login":"tomfriwel"}}