diff options
author | Robert Jaros <rjaros@finn.pl> | 2017-09-03 03:23:34 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2017-09-03 03:23:34 +0200 |
commit | 70bc6412e0b54119d3f0b6a82c1def78a9088d16 (patch) | |
tree | 5df87cf5b18ac4623116851f55bd5244a50a3191 /src/main/kotlin/pl/treksoft/kvision/Showcase.kt | |
parent | c056275c522db3f2f391ce44a405da0cedae60ca (diff) | |
download | kvision-70bc6412e0b54119d3f0b6a82c1def78a9088d16.tar.gz kvision-70bc6412e0b54119d3f0b6a82c1def78a9088d16.tar.bz2 kvision-70bc6412e0b54119d3f0b6a82c1def78a9088d16.zip |
DropDown attributes
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/Showcase.kt')
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/Showcase.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt index 019b6681..67d7bbd1 100644 --- a/src/main/kotlin/pl/treksoft/kvision/Showcase.kt +++ b/src/main/kotlin/pl/treksoft/kvision/Showcase.kt @@ -5,6 +5,7 @@ import pl.treksoft.kvision.core.Container import pl.treksoft.kvision.core.Img import pl.treksoft.kvision.core.KVManager import pl.treksoft.kvision.core.Root +import pl.treksoft.kvision.dropdown.DD.* import pl.treksoft.kvision.dropdown.DropDown import pl.treksoft.kvision.html.* import pl.treksoft.kvision.html.TAG.H1 @@ -32,7 +33,8 @@ class Showcase : ApplicationBase() { val dd = DropDown("Dropdown", listOf("abc" to "#!/x", "def" to "#!/y"), "flag") root.add(dd) - val dd2 = DropDown("Dropdown2", listOf("abc" to "#!/abc", "def" to "#!/def"), "flag") + val dd2 = DropDown("Dropdown2", listOf("abc" to "#!/abc", "def" to "#!/def", "xyz" to DISABLED.POS, "Header" to HEADER.POS, "Separtatorek" to SEPARATOR.POS + ), "flag", dropup = true) root.add(dd2) val p = Tag(TAG.P, "To jest prawo", align = ALIGN.RIGHT) |