setSheetOffset

fun setSheetOffset(offsetY: Double, offsetX: Double = definedExternally)(source)

Changes the attachment point for sheets on macOS. By default, sheets are attached just below the window frame, but you may want to display them beneath a HTML-rendered toolbar. For example: