Skip to main content

pageGravity

Type​

property

Summary​

The gravity of the page

Syntax​

get the pageGravity of <widget>
set the pageGravity of <widget> to { "topLeft", "center" }

Description​

If the widget is wider or taller than the page at its current zoom the page gravity will govern where within the widget the page is drawn.

Compatibility and Support​

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile