From e838207213484b3d6383d90a13fe8e36a4fb467d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 8 Mar 2018 13:39:23 +0100 Subject: Style fixes --- src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/kotlin/pl/treksoft') 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 } -- cgit