Reset symbol size when replacing library

Hello.
Library replacement is a very useful and much-needed feature we’ve been waiting for a long time. But it works very strangely (or maybe I haven’t figured it out).
When I replace symbols with library components, their size resets to the original without my permission.
In large projects, where the same symbol is used in different contexts and sizes, this is unusable. Adjusting sizes across more than 100 windows is a nightmare!
Maybe I’m doing something wrong — could you please advise me on how to handle this situation?
I’ve prepared example files via the provided link. Just replace all components in the main file with library components, and everything will become clear.
Previously, we used third-party plugins (though they often broke and didn’t work well), and they had a variable: “Set all instances to original size.”
Where can I find something similar for library replacement in Sketch?

Hi there. :wave:
There is an option to toggle the setting for replacing Components at their original size, or leaving them at the size you have set them in your document. See the demo below to see this in action on the example documents you have provided.
I hope this helps, and if you need anything else, just let us know. :pray:

Thank you, this works! :smiley: Although sometimes I have to turn it on and off for it to work correctly—haven’t figured out the reason yet, maybe there are too many symbols?
Since we’re talking about libraries, may I ask another question? Is there a simple way to convert all library styles (layer, text, color) back to local styles? Sometimes this is really necessary, but I haven’t found any plugins for this.

The Automate plugin is no longer updated and some features no longer work, but you can still use this to change Library Text and Layer Styles to be local. But unfortunately, it does not have an option to make Library Color Variables local.

Plugins > Automate > Library > Library Style and Color > Change Library Text Styles to Local Text Style

Plugins > Automate > Library > Library Style and Color > Change Library Layers Styles to Local Layer Style

1 Like