Fullscreen Option

Forms Developer Guides Scripting Interface Menu

FULLSCREEN_OPTION(visible = true)

App.menu().fullscreen_option();
App.menu().fullscreen_option(false); // Removes the option

Adds a fullscreen option to the top left of the menu bar, to allow the user to toggle fullscreen display. This can be used for Custom Views which may need more space.