treeform / fidget

Figma based UI library for nim, with HTML and OpenGL backends.
MIT License
763 stars 32 forks source link

layoutAlign laInherit is built by plugin but missing in fidget code #118

Closed ridcully99 closed 3 years ago

ridcully99 commented 3 years ago

I created a small layout and tried to export it with the plugin, but the code, the plugin creates produces error 'undefined identifier laInherit'.

frame "Frame 1":
        box -382, -311, 601, 565
        fill "#2d6349"
        layoutAlign laInherit
treeform commented 3 years ago

I think this is due to the new layout that was introduced couple of weeks ago. I don't have support for it yet.

ridcully99 commented 3 years ago

Thanks for your feedback. I guess I can remove it from the code or replace with something that is already supported.