{"action":"created","issue":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/583","repository_url":"https://api.github.com/repos/STRML/react-grid-layout","labels_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/583/comments","events_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/583/events","html_url":"https://github.com/STRML/react-grid-layout/issues/583","id":238755183,"number":583,"title":"Set space between grid items (without changing size of grid items)","user":{"login":"oyshan","id":3329750,"avatar_url":"https://avatars2.githubusercontent.com/u/3329750?v=3","gravatar_id":"","url":"https://api.github.com/users/oyshan","html_url":"https://github.com/oyshan","followers_url":"https://api.github.com/users/oyshan/followers","following_url":"https://api.github.com/users/oyshan/following{/other_user}","gists_url":"https://api.github.com/users/oyshan/gists{/gist_id}","starred_url":"https://api.github.com/users/oyshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyshan/subscriptions","organizations_url":"https://api.github.com/users/oyshan/orgs","repos_url":"https://api.github.com/users/oyshan/repos","events_url":"https://api.github.com/users/oyshan/events{/privacy}","received_events_url":"https://api.github.com/users/oyshan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-27T07:03:14Z","updated_at":"2017-06-27T11:39:49Z","closed_at":null,"body":"- [X] Bug\r\n- [ ] Feature Request\r\n- [X] Question\r\n\r\nIs there a way to set the space (margin) between the grid items (in pixels) without changing the size of the grid items? One should think that margin is applicable for this, but changing the margin also changes the size (width and height) of the grid items, which is unfortunate."},"comment":{"url":"https://api.github.com/repos/STRML/react-grid-layout/issues/comments/311332791","html_url":"https://github.com/STRML/react-grid-layout/issues/583#issuecomment-311332791","issue_url":"https://api.github.com/repos/STRML/react-grid-layout/issues/583","id":311332791,"user":{"login":"oyshan","id":3329750,"avatar_url":"https://avatars2.githubusercontent.com/u/3329750?v=3","gravatar_id":"","url":"https://api.github.com/users/oyshan","html_url":"https://github.com/oyshan","followers_url":"https://api.github.com/users/oyshan/followers","following_url":"https://api.github.com/users/oyshan/following{/other_user}","gists_url":"https://api.github.com/users/oyshan/gists{/gist_id}","starred_url":"https://api.github.com/users/oyshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyshan/subscriptions","organizations_url":"https://api.github.com/users/oyshan/orgs","repos_url":"https://api.github.com/users/oyshan/repos","events_url":"https://api.github.com/users/oyshan/events{/privacy}","received_events_url":"https://api.github.com/users/oyshan/received_events","type":"User","site_admin":false},"created_at":"2017-06-27T11:39:49Z","updated_at":"2017-06-27T11:39:49Z","body":"Thansk for your reply! :) I'm sure this is a stupid question, but how do I do that?\r\n\r\nE.g. if I change the margin from [10,10] to [0,0] or [13,13], what should be increased/decreased to avoid changing the size of the grid items?\r\n\r\nGrid setup:\r\n* breakpoints = { lg: 768, sm: 0 }\r\n* cols = { lg: 72, sm: 1 }\r\n* rowHeight = {10}\r\n\r\nA grid item's layout can be e.g.:\r\n* h:10\r\n* minH:2\r\n* minW:4\r\n* w:24\r\n* x:0\r\n* y:0"}}
{"actor":{"display_login":"oyshan"}}