Fit object to width or height of container
I have created components that fit a specific size of artboard. E.g. a button to be located at the bottom of a mobile screen to which is the full width of the screen.
I now cannot use this component without overriding its width on other size artboards.
I would like a way to make the component instance, or just an ordinary object, adjust to the width of the artboard.
Ideally, this would be implemented as a width attribute of the component/object, as opposed to a one off right click action.
This feature could also be made more general by implementing it to fit to its container rather than specifically to the artboard.
Responsive resize will do what you want! By default, components are set to fixed width and height, so you can set to manual and remove that so that it will pin the way you want it to. Additionally, artboards will need to be set to responsive resize ON in order to resize its content. Hope that helps!