toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.form
/
NamedConfig
/
defaultLayout
default
Layout
fun
defaultLayout
(
spacing
:
Double
=
DEFAULT_SPACING
,
itemHeight
:
Double
=
DEFAULT_HEIGHT
)
:
(
container
:
View
,
field
:
View
)
->
Layout
?
(
source
)
Return
the default layout
Parameters
spacing
that determines the space between the label and field