Gave it a spin, and it works pretty nice. Definitely a huge improvement over fiddling with pixels by hand.
One minor annoyance I ran into:
The smoothest way to simply update a bunch of labels with minimal flicker seems to be setting fillx: true and bgCol: g.theme.bg for every element and then do layout.update();layout.render(), but that clutters up the layout object.
(It annoyed me enough that I wrote some code to add those properties afterwards)
But maybe once it's baked into the firmware it will be fast enough that we can just do layout.clear();layout.update();layout.render() without too much flicker?
© Espruino, powered by microcosm.
Report a problem