getTitlePaneControlInsets

fun Window.getTitlePaneControlInsets(): Insets?

Queries the insets that should be reserved for the main control buttons (close / maximize / minimize) in application content that is extended into the title pane area with Window.extendContentIntoTitlePane API. Insets.left and Insets.right give the horizontal insets of the control buttons. Insets.top and Insets.right give the vertical insets within the matching horizontal insets.

Return

The insets that should be reserved for the main control buttons (close / maximize / minimize) in application content that is extended into the title pane area.

See also