ProzillaOS/packages/docs/src/reference/classes/system/windows-config.md

1,022 B

outline
deep

Class WindowsConfig

Constructor

new WindowsConfig(options)

Parameters


options

  • options.screenMargin : number
  • options.titleSeparator : string
  • options.minScreenSize : Vector2

Properties

screenMargin : number

The margin that windows will keep between them and the edges of the screen on smaller devices

@default

32

titleSeparator : string

A string that is placed between different parts of a window title

@default

"-"

minScreenSize : Vector2

If the user's screen is smaller than these values, windows will always be maximized

@default

new Vector2(350, 350)

Warning

Keep these values as low as possible, as this limits some functionality of the OS on devices with certain screen sizes.