{"action":"opened","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/2471","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/2471/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/2471/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/2471/events","html_url":"https://github.com/kangax/fabric.js/issues/2471","id":105859141,"number":2471,"title":"Setting the canvas viewport so all objects fit within the canvas dimensions.","user":{"login":"scottmilward","id":4175610,"avatar_url":"https://avatars.githubusercontent.com/u/4175610?v=3","gravatar_id":"","url":"https://api.github.com/users/scottmilward","html_url":"https://github.com/scottmilward","followers_url":"https://api.github.com/users/scottmilward/followers","following_url":"https://api.github.com/users/scottmilward/following{/other_user}","gists_url":"https://api.github.com/users/scottmilward/gists{/gist_id}","starred_url":"https://api.github.com/users/scottmilward/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottmilward/subscriptions","organizations_url":"https://api.github.com/users/scottmilward/orgs","repos_url":"https://api.github.com/users/scottmilward/repos","events_url":"https://api.github.com/users/scottmilward/events{/privacy}","received_events_url":"https://api.github.com/users/scottmilward/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-10T17:34:23Z","updated_at":"2015-09-10T17:34:23Z","closed_at":null,"body":"I am curious about this issue I am running into.\r\n\r\nI am adding fabric objects that have a left/top/width/height property value that is largert than the current canvas width and height.\r\n\r\nI am wanting to be able to zoom out/modify the viewport so all those objects fit nicely within the canvas dimensions.\r\n\r\nIs there a specific/proper way to go about easily doing this?\r\n "}}