-
• #2
Same here, "txt" does not seem to work anymore outside a horizontal or vertical container, this works:
var Layout = require("Layout"); var layout = new Layout( { type:"v", c: [ {type:"txt", font:"6x8", label:"Hello World"} ] }); g.clear(); layout.render();
-
• #3
Ahh - sorry about that. I did a few speed optimisations and it seems the broke the case where
h
orv
layout wasn't the root element. I've fixed it in the development app loader, and next update it'll go live to the banglejs.com/apps -
• #4
Thanks Gordon!
I'm seeing a similar error to that described in RaoulDuke's post.
When I enter sample code from the layout tutorial:
I get the following error:
with version 2v16.1 (both on the emulator and my BangleJS 2). I've turned off "Shorten variable names" in the emulator as suggested by the earlier post.
If I run it as an application a 2nd time on the device, it works as expected. What is different?