From 9fbc710662e398199ba0082cbd3add9aa22c16a3 Mon Sep 17 00:00:00 2001 From: Bartosz Malkowski Date: Wed, 29 Apr 2020 10:20:10 +0200 Subject: Add property to scrolling long content in Modal --- .../src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvision-modules/kvision-bootstrap-dialog') diff --git a/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt b/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt index 511dfd00..45b3a008 100644 --- a/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt +++ b/kvision-modules/kvision-bootstrap-dialog/src/main/kotlin/pl/treksoft/kvision/modal/Dialog.kt @@ -40,9 +40,9 @@ import kotlin.coroutines.resume */ open class Dialog( caption: String? = null, closeButton: Boolean = true, - size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, escape: Boolean = true, + size: ModalSize? = null, animation: Boolean = true, centered: Boolean = false, scrollable: Boolean = false, escape: Boolean = true, classes: Set = setOf(), init: (Dialog.() -> Unit)? = null -) : Modal(caption, closeButton, size, animation, escape, centered, classes) { +) : Modal(caption, closeButton, size, animation, escape, centered, scrollable, classes) { internal var resultCallback: ((R?) -> Unit)? = null -- cgit