Responsiveness
Last updated
Last updated
You can scale your elements larger or smaller by using the "Scale All Elements" workflow action:
This workflow action is helpful if you need to make your Canvas responsive when serializing it and saving it to the database. Here are the steps you should follow:
When serializing the Canvas, save the Canvas Width in another field associated with that database Thing:
When loading the Canvas on a new screen size, load the Serialized Canvas from step #1, then use the "Scale All Elements" workflow action to update the size of the Elements in your Canvas based on the current Canvas width (formula is Current Canvas Width รท Canvas Width when Serialized):