{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/12848","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/12848/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/12848/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/12848/events","html_url":"https://github.com/ant-design/ant-design/issues/12848","id":374449922,"node_id":"MDU6SXNzdWUzNzQ0NDk5MjI=","number":12848,"title":"add a Tree prop that allow align leaf nodes horizontally","user":{"login":"rikakomoe","id":18373361,"node_id":"MDQ6VXNlcjE4MzczMzYx","avatar_url":"https://avatars3.githubusercontent.com/u/18373361?v=4","gravatar_id":"","url":"https://api.github.com/users/rikakomoe","html_url":"https://github.com/rikakomoe","followers_url":"https://api.github.com/users/rikakomoe/followers","following_url":"https://api.github.com/users/rikakomoe/following{/other_user}","gists_url":"https://api.github.com/users/rikakomoe/gists{/gist_id}","starred_url":"https://api.github.com/users/rikakomoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rikakomoe/subscriptions","organizations_url":"https://api.github.com/users/rikakomoe/orgs","repos_url":"https://api.github.com/users/rikakomoe/repos","events_url":"https://api.github.com/users/rikakomoe/events{/privacy}","received_events_url":"https://api.github.com/users/rikakomoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"chenshuai2144","id":8186664,"node_id":"MDQ6VXNlcjgxODY2NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8186664?v=4","gravatar_id":"","url":"https://api.github.com/users/chenshuai2144","html_url":"https://github.com/chenshuai2144","followers_url":"https://api.github.com/users/chenshuai2144/followers","following_url":"https://api.github.com/users/chenshuai2144/following{/other_user}","gists_url":"https://api.github.com/users/chenshuai2144/gists{/gist_id}","starred_url":"https://api.github.com/users/chenshuai2144/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenshuai2144/subscriptions","organizations_url":"https://api.github.com/users/chenshuai2144/orgs","repos_url":"https://api.github.com/users/chenshuai2144/repos","events_url":"https://api.github.com/users/chenshuai2144/events{/privacy}","received_events_url":"https://api.github.com/users/chenshuai2144/received_events","type":"User","site_admin":false},"assignees":[{"login":"chenshuai2144","id":8186664,"node_id":"MDQ6VXNlcjgxODY2NjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8186664?v=4","gravatar_id":"","url":"https://api.github.com/users/chenshuai2144","html_url":"https://github.com/chenshuai2144","followers_url":"https://api.github.com/users/chenshuai2144/followers","following_url":"https://api.github.com/users/chenshuai2144/following{/other_user}","gists_url":"https://api.github.com/users/chenshuai2144/gists{/gist_id}","starred_url":"https://api.github.com/users/chenshuai2144/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenshuai2144/subscriptions","organizations_url":"https://api.github.com/users/chenshuai2144/orgs","repos_url":"https://api.github.com/users/chenshuai2144/repos","events_url":"https://api.github.com/users/chenshuai2144/events{/privacy}","received_events_url":"https://api.github.com/users/chenshuai2144/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-10-26T16:06:37Z","updated_at":"2018-10-29T09:22:37Z","closed_at":"2018-10-29T09:22:37Z","author_association":"NONE","body":"- [x] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.\r\n\r\n### What problem does this feature solve?\r\nIn a typical scene, using [tree view](https://ant.design/components/tree-cn/) in a privilege control, like this\r\n![image.png](https://i.loli.net/2018/10/26/5bd30e1037e2e.png)\r\nit would be nice if i could have an option to align the leaf nodes in a horizontal way\r\n\r\n### What does the proposed API look like?\r\nhorizontal boolean\r\n\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/433840221","html_url":"https://github.com/ant-design/ant-design/issues/12848#issuecomment-433840221","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/12848","id":433840221,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzg0MDIyMQ==","user":{"login":"zombieJ","id":5378891,"node_id":"MDQ6VXNlcjUzNzg4OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5378891?v=4","gravatar_id":"","url":"https://api.github.com/users/zombieJ","html_url":"https://github.com/zombieJ","followers_url":"https://api.github.com/users/zombieJ/followers","following_url":"https://api.github.com/users/zombieJ/following{/other_user}","gists_url":"https://api.github.com/users/zombieJ/gists{/gist_id}","starred_url":"https://api.github.com/users/zombieJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zombieJ/subscriptions","organizations_url":"https://api.github.com/users/zombieJ/orgs","repos_url":"https://api.github.com/users/zombieJ/repos","events_url":"https://api.github.com/users/zombieJ/events{/privacy}","received_events_url":"https://api.github.com/users/zombieJ/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T09:22:37Z","updated_at":"2018-10-29T09:22:37Z","author_association":"MEMBER","body":"这个需求有些定制，也不符合 Tree 的场景。不推荐用 Tree 实现。\r\n当然，你可以魔改 css：https://codesandbox.io/s/1w3zmm9l0q"}}
{"actor":{"display_login":"zombieJ"}}