aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/panel
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt
index f3625e97..d3211d7a 100644
--- a/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt
@@ -52,7 +52,7 @@ enum class Direction(internal val dir: String) {
*/
open class SplitPanel(
private val direction: Direction = Direction.VERTICAL,
- classes: Set<String> = setOf(), init: (SplitPanel.() -> kotlin.Unit)? = null
+ classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null
) : SimplePanel(classes + ("splitpanel-" + direction.dir)) {
@Suppress("LeakingThis")
@@ -107,7 +107,7 @@ open class SplitPanel(
*/
fun Container.splitPanel(
direction: Direction = Direction.VERTICAL,
- classes: Set<String> = setOf(), init: (SplitPanel.() -> kotlin.Unit)? = null
+ classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null
): SplitPanel {
val splitPanel = SplitPanel(direction, classes, init)
this.add(splitPanel)