aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-10-01 15:16:11 +0200
committerRobert Jaros <rjaros@finn.pl>2017-10-01 15:17:53 +0200
commita61948c5b79d2fb3402e14ee69a9a8f2a18c02b4 (patch)
tree4f51345d2050b141111e3f6ef4bb3d16d4c23e7f /src/main/kotlin/pl/treksoft/kvision/Showcase.kt
parentd732f672bfbfa565c6ec4fc037381554de251ad3 (diff)
downloadkvision-a61948c5b79d2fb3402e14ee69a9a8f2a18c02b4.tar.gz
kvision-a61948c5b79d2fb3402e14ee69a9a8f2a18c02b4.tar.bz2
kvision-a61948c5b79d2fb3402e14ee69a9a8f2a18c02b4.zip
Widget wrapper used inside the containers
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/Showcase.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
index 221ac609..04ce2615 100644
--- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt
@@ -13,6 +13,7 @@ import pl.treksoft.kvision.modal.Alert
import pl.treksoft.kvision.modal.Confirm
import pl.treksoft.kvision.modal.Modal
import pl.treksoft.kvision.panel.DIRECTION
+import pl.treksoft.kvision.panel.GRIDTYPE
import pl.treksoft.kvision.panel.GridPanel
import pl.treksoft.kvision.panel.HPanel
import pl.treksoft.kvision.panel.SplitPanel
@@ -114,7 +115,7 @@ class Showcase : ApplicationBase() {
val img = Image(Img("kotlin.png"), "Image", true, IMAGESHAPE.ROUNDED)
root.add(img)
- val grid = GridPanel(align = ALIGN.RIGHT)
+ val grid = GridPanel(gridtype = GRIDTYPE.DSG, align = ALIGN.RIGHT)
grid.add(Tag(DIV, "0,0"), 0, 0)
grid.add(Tag(DIV, "1,1"), 1, 1)
grid.add(Tag(DIV, "2,2"), 2, 2)