I believe appRect is automatically pushed down 24px IF there are widgets loaded in WIDGETS. If there aren't widgets loaded then it should return the full screen. For instance:
The issue really is while you can do what you mentioned to force fullscreen, if a widget updates (eg battery, bluetooth, etc) it'll just redraw over the layout. So realistically the only real way to get fullscreen is to have loaded a seperate app that then never calls loadWidgets (since you can't easily unload widgets).
Just a note on the settings screen - it looks great, and I know the current E.showMenu is not nice at all, but I feel like if at all possible it would probably be good to try and improve E.showMenu to make it better rather than getting in the situation where every app implements its own settings screens.
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.
I believe appRect is automatically pushed down 24px IF there are widgets loaded in WIDGETS. If there aren't widgets loaded then it should return the full screen. For instance:
The issue really is while you can do what you mentioned to force fullscreen, if a widget updates (eg battery, bluetooth, etc) it'll just redraw over the layout. So realistically the only real way to get fullscreen is to have loaded a seperate app that then never calls
loadWidgets
(since you can't easily unload widgets).Just a note on the settings screen - it looks great, and I know the current
E.showMenu
is not nice at all, but I feel like if at all possible it would probably be good to try and improveE.showMenu
to make it better rather than getting in the situation where every app implements its own settings screens.