diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-03-31 01:10:26 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-03-31 01:10:26 +0200 |
commit | 0a453323a4f903d700ab55de9426d00863e12932 (patch) | |
tree | 0ba71e155499d7ed7e9f083dc8996aadf7261440 | |
parent | 1a7374b9d24bfcf1ea942d19d099f2c6c7edb81f (diff) | |
download | kvision-0a453323a4f903d700ab55de9426d00863e12932.tar.gz kvision-0a453323a4f903d700ab55de9426d00863e12932.tar.bz2 kvision-0a453323a4f903d700ab55de9426d00863e12932.zip |
Content overflow property of window component.
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/window/Window.kt | 8 |
1 files changed, 8 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 9607b01d..4a7e6ded 100644 --- a/src/main/kotlin/pl/treksoft/kvision/window/Window.kt +++ b/src/main/kotlin/pl/treksoft/kvision/window/Window.kt @@ -94,6 +94,14 @@ open class Window( content.height = value } /** + * Window content height. + */ + var contentOverflow + get() = content.overflow + set(value) { + content.overflow = value + } + /** * Determines if the window is resizable. */ var isResizable by refreshOnUpdate(isResizable, { checkIsResizable() }) |