diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-05-05 22:42:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-05-05 22:42:24 +0200 |
commit | 0c35c53941811f5e574fbdd9187cde97b0486002 (patch) | |
tree | 8416ff20be067a7e99116a4c7c80b2b63db60210 /src/main/kotlin/pl/treksoft/kvision/panel | |
parent | 8067c5ae27822e019dde8bbba5763e9334a86fb0 (diff) | |
download | kvision-0c35c53941811f5e574fbdd9187cde97b0486002.tar.gz kvision-0c35c53941811f5e574fbdd9187cde97b0486002.tar.bz2 kvision-0c35c53941811f5e574fbdd9187cde97b0486002.zip |
Suppress some warnings.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/panel')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/panel/DockPanel.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/panel/DockPanel.kt b/src/main/kotlin/pl/treksoft/kvision/panel/DockPanel.kt index ee763271..b871abfa 100644 --- a/src/main/kotlin/pl/treksoft/kvision/panel/DockPanel.kt +++ b/src/main/kotlin/pl/treksoft/kvision/panel/DockPanel.kt @@ -78,7 +78,9 @@ open class DockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit protected val mainContainer = FlexPanel( direction = FlexDir.COLUMN, justify = FlexJustify.SPACEBETWEEN, alignItems = FlexAlignItems.STRETCH ) { + @Suppress("MagicNumber") width = 100.perc + @Suppress("MagicNumber") height = 100.perc } /** @@ -86,7 +88,9 @@ open class DockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit * Internal property. */ protected val subContainer = FlexPanel(justify = FlexJustify.SPACEBETWEEN, alignItems = FlexAlignItems.STRETCH) { + @Suppress("MagicNumber") width = 100.perc + @Suppress("MagicNumber") height = 100.perc } |