From 76c1fff00042ff1b5d524ee414dc6d28f7658c69 Mon Sep 17 00:00:00 2001
From: Robert Jaros
<init>
-
-FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), serializer: KSerializer<K>)
+
+FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), serializer: KSerializer<K>)
Parameters
@@ -23,6 +23,8 @@
type - form layout
condensed - determines if the form is condensed.
+horizRatio - horizontal form layout ratio
classes - set of CSS class names
diff --git a/api/pl.treksoft.kvision.form/-form-panel/create.html b/api/pl.treksoft.kvision.form/-form-panel/create.html
index a0bbec40..f1fba628 100644
--- a/api/pl.treksoft.kvision.form/-form-panel/create.html
+++ b/api/pl.treksoft.kvision.form/-form-panel/create.html
@@ -8,7 +8,7 @@
kvision / pl.treksoft.kvision.form / FormPanel / create
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
+
+inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>