diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-04-22 21:58:19 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-04-22 21:58:19 +0200 |
commit | 821883e06af48d5557a12475d9f08ff1d5c39f1c (patch) | |
tree | da3fd2ccc656ecebf7b93b655ad8af956fe814d7 /src/main/kotlin/pl/treksoft/kvision/panel | |
parent | 6f7736b85e0889aff26860e2960f52b301f460c5 (diff) | |
download | kvision-821883e06af48d5557a12475d9f08ff1d5c39f1c.tar.gz kvision-821883e06af48d5557a12475d9f08ff1d5c39f1c.tar.bz2 kvision-821883e06af48d5557a12475d9f08ff1d5c39f1c.zip |
Code style fixes.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/SplitPanel.kt | 4 |
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) |