DWilliames / google-sheets-sync-figma

82 stars 8 forks source link

Resize and position components #57

Open marioporpora opened 3 years ago

marioporpora commented 3 years ago

In my artboard, I've placed a component (a simple circle) that I would like to resize and position in a specific x/y in the artboard based on the data of my google sheet.

In the artboard, I have placed also some components that are fetching normal text. When I fetch the data from the google sheet, I'm able to fetch the text information, but I cannot resize the dimension of the components.

The Component name is not able to fetch this information: Layer name: #size #posX #posY Data fetched: 250s 24x 56y

Also, I've seen that you can change the colour of the fill of a layer but not the colour of its stroke.

Describe the solution you'd like What I would like is to create a component that has the possibility to resize it and position it like any other layer in my artboard, keeping the editable feature of the component available (change colour, stroke size, transparency).

Would be helpful to have the possibility to also change the colour of the stroke of the layer.

Describe alternatives you've considered The main alternative is to not use components for my artboard, which means that I have to manually change the colour, stroke and transparency of the layer in case there are any changes in the main layout.

Additional context I'm trying to use your plugin to create a series of Instagram stories, where a circle is positioned with different sizes in the centre of the 1920/1080 artboard; Each artboard represents a park, and the circle is its size. Having the possibility to use components in the artboard will allow me to easily change the shape (circle/star/rectangle) the colour(stroke and fill) and the transparency of the layer also after I have fetched the data, without restarting every time from scratch.

Thank you so much for the plugin btw, it's super helpful.