Skip to main content

UI.WindowLocationDescription

Object representing window location used in window content object and UI.WindowLocation constructor.

Hierarchy

Index

Properties

optionalforceScrollX

forceScrollX?: boolean

optionalforceScrollY

forceScrollY?: boolean

optionalglobalScale
since: 2.3.1b115

globalScale?: boolean

Determines whether the interface needs to be resized based on its size or a global unit system should be used.

optionalheight

height?: number

Height of the window in units, by default calculated to match bottom screen bound.

optionalpadding

padding?: { bottom?: number; left?: number; right?: number; top?: number }

Paddings are distances from the window bounds to the elements in the window.


Type declaration

  • optionalbottom?: number
  • optionalleft?: number
  • optionalright?: number
  • optionaltop?: number

optionalscrollX

scrollX?: number

Defines scrollable window size along the X axis.

optionalscrollY

scrollY?: number

Defines scrollable window size along the Y axis.

optionalwidth

width?: number

Width of the window in units, by default calculated to match right screen bound.

optionalx

x?: number = 0

X coordinate of the window in units.

optionaly

y?: number = 0

Y coordinate of the window in units.