aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-03-31 01:10:26 +0200
committerRobert Jaros <rjaros@finn.pl>2018-03-31 01:10:26 +0200
commit0a453323a4f903d700ab55de9426d00863e12932 (patch)
tree0ba71e155499d7ed7e9f083dc8996aadf7261440 /src/main/kotlin/pl
parent1a7374b9d24bfcf1ea942d19d099f2c6c7edb81f (diff)
downloadkvision-0a453323a4f903d700ab55de9426d00863e12932.tar.gz
kvision-0a453323a4f903d700ab55de9426d00863e12932.tar.bz2
kvision-0a453323a4f903d700ab55de9426d00863e12932.zip
Content overflow property of window component.
Diffstat (limited to 'src/main/kotlin/pl')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/window/Window.kt8
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() })