Skip to main content
March 8, 2023
Question

Get the warning of horizontal and vertical padding

I got this error in my figma plugin when I applied autolayout by using figma plugin API’s.
Here is my current version of figma in Package.json “@figma/plugin-typings”: “1.57.1”.
I am not using horizontal padding anywhere in my code.

reading horizontalPadding is no longer supported as left and right padding may differ

This topic has been closed for replies.

3 replies

tank666
March 8, 2023

This is not an error, just a warning. It’s safe to ignore it.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Hemalatha_Palanisamy
September 28, 2023

I am facing this error in my plugin as well and I doubt there is a performance lag because of this warning. Kindly let me know whether there is any way to get rid of this warning

tank666
September 28, 2023

Don’t read these properties and then you won’t see these warnings.

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank