px2code / Figma-to-HTML

Figma to HTML/React/Vue and truly responsive
https://www.pxcode.io/figma-convert-to-html-plugin
36 stars 6 forks source link

about auto layout #4

Open AxToi opened 2 years ago

AxToi commented 2 years ago

3ADDA362-C12F-49F4-933D-BE9BD5B3D0B2 Hello, maybe I just didn't use it well. But I didn't see anything about it after reading the blog. I had this problem when I used figma to export, but when I turned on auto layout as prompted, the original content of my page was messed up. And when I turn on auto layout and re-adjust it, I still get a prompt to “turn on auto layout when exporting”, as shown in the picture. I don't know whether this is Figma's problem or pxCode's problem, maybe you know how to solve it, thank you

px2code commented 2 years ago

Our plugin doesn't block or enforce the auto layout. Might you double-check if you are using the right plugin?

We have just launched an update with "Auto Layout Strict Mode," which would enforce Auto Layout rules. So if you encounter the issue, it's straightforward to disable the strict mode option, and you can export any frames without any limitations.