diff options
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt index b85c584b..1225a1c2 100644 --- a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt +++ b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt @@ -127,10 +127,13 @@ open class Window( init { id = "kv_window_$counter" + @Suppress("LeakingThis") position = Position.ABSOLUTE + @Suppress("LeakingThis") overflow = Overflow.HIDDEN @Suppress("LeakingThis") width = contentWidth + @Suppress("LeakingThis") zIndex = ++zIndexCounter closeIcon.visible = closeButton closeIcon.setEventListener { @@ -145,6 +148,7 @@ open class Window( addInternal(content) checkIsDraggable() if (isResizable) { + @Suppress("LeakingThis") resize = Resize.BOTH content.marginBottom = WINDOW_CONTENT_MARGIN_BOTTOM.px } |