CenteredOnOwner

The window is centered on the window that owns it, or on the screen when it has no owner. An owner that is not on screen yet centers the window on the owner's screen instead of on the owner's bounds.

Declaring it again re-centers the window, whether or not it is already shown.

Functions

Link copied to clipboard
open override fun toString(): String