Hi, you can't at the moment (short of choosing the order in which you upload the widgets).
I'd considered putting a sortorder in, as is done for apps, but realistically what I imagine you're after is to make them user-configurable (rather than for the designer to be able to say 'this should always go on the left').
It'd be pretty easy to make a Widget order app that fixed this though. You just have to make a widgetorder.boot.js that overrides Bangle.loadWidgets to call the original, then modify the WIDGETS object to put everything in the right order (and maybe even swap the locations around).
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi, you can't at the moment (short of choosing the order in which you upload the widgets).
I'd considered putting a
sortorder
in, as is done for apps, but realistically what I imagine you're after is to make them user-configurable (rather than for the designer to be able to say 'this should always go on the left').It'd be pretty easy to make a
Widget order
app that fixed this though. You just have to make awidgetorder.boot.js
that overridesBangle.loadWidgets
to call the original, then modify theWIDGETS
object to put everything in the right order (and maybe even swap the locations around).