Easily resize/snap Artboard edges to match content bounds
Working on a landscape prototype version of a site, and to simulate the scrollable pages I bring the assets in, place them, and then adjust the height of the Artboard to match — but it would be really nice if there were Smart Guides when doing so, so the Artboard snaps to the height of the assets on the page.
Size of artboard should fit content exactly.
Thomas Hale commented
Similar to the feature from Adobe Illustrator where you can fit art board to a selection, This would be helpful at making the workflow easier as content on pages gets larger and lead to a more precise way to sizing art boards.
Zigmas Mallol commented
We totally need this. Actually, this functionality is well introduced in Ilustrator, when you use the page tool, you can double click a group or an object, and the page will take the size of that element. Why not just implement it in XD as well?
Just a suggestion based off what I find myself doing a lot… and that is manually resizing the bottom of my artboards up to the last element (usually footer).
A useful feature would be to automate this via a 'trim artboard' function (or whatever people decide to call it).
It would also be useful if there was a feature to this whereby you could set a default bottom margin size so there would automatically be a commonly used spacing after your final element if required.
Thanks @Cyrill, I've tried heaps of things but hadn't found that workaround. It's at least a way around this problem for now, but an "auto-size artboard" feature would be great, especially for long-scrolling pages.
[Deleted User] commented
https://youtu.be/jlp-kTDSfNc I'm looking for this feature too
This would be great. Can Adobe add in this in an update?
I found a workaround. When you resize the artboard so it doesn't contain the bottommost object anymore first and then expand it back again around the bottommost object it snaps. But it's really just a workaround. Hope they enable it as it's supposed to work.
Any comment on that?
Would be so convenient!
@Peter, still though, it would be nice to be able to quickly adjust the artboard size to fit the content bounds.
My current workflow (e.g when I want the height to snap to a footer element) is to select the footer > calculate Y position plus footer height > select artboard > edit artboard height value.
This could be easily circumvented by having smart guides for content bounds in combination with artboard resizing.
If you want to create an artboard whose initial size exactly matches some selected artwork on the pasteboard, please see https://adobexd.uservoice.com/forums/353007/suggestions/13223664-create-artboard-matching-size-of-selected-elements
Josh Curtis commented
When I drop artwork onto an artboard, and the artwork extends outside of the artboard, I simply want to adjust the bottom of the artboard to snap to the bottom of the artwork so that I can quickly define the scrollable canvas.
Christine Ho commented
Looking for something similar to Illustrator that resizes the artboard to artwork bounds.