• On the page here: http://www.espruino.com/graphical_menu it describes how to set the height of the font being used, the y offset and so on. However, I've not been able to make the changes to the default values take place. So where in the example menu on that page should they be inserted?

    Also, am I right in assuming the y offset changes where the top of the menu will be on the screen?

    Thanks in advance.

  • Hi - which Bangle are you trying this on? Bangle.js 2? And with E.showMenu?

    I'm afraid that with the Bangle.js 2 menu especially those options probably aren't available (code at https://github.com/espruino/Espruino/blo­b/master/libs/js/banglejs/E_showMenu_Q3.­js) since with the touch scrolling the Bangle.js 2 implementation has moved quite far from the standard graphical_menu library (you should still be able to use graphical_menu if you want to though).

    The best source of info for E.showMenu is probably just http://www.espruino.com/Reference#l_E_sh­owMenu

  • Yeah - it's the Bangle 2. Oh well! :) I'll see what the links say...

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Having problems understanding how to set menu values such as fontHeight, y offset, etc.

Posted by Avatar for CarlR @CarlR

Actions