From 0a453323a4f903d700ab55de9426d00863e12932 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 31 Mar 2018 01:10:26 +0200 Subject: Content overflow property of window component. --- src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/kotlin/pl/treksoft/kvision') diff --git a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt index 9607b01d..4a7e6ded 100644 --- a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt +++ b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt @@ -93,6 +93,14 @@ open class Window( set(value) { content.height = value } + /** + * Window content height. + */ + var contentOverflow + get() = content.overflow + set(value) { + content.overflow = value + } /** * Determines if the window is resizable. */ -- cgit