<HTML> <HEAD> <meta charset="UTF-8"> <title>GridPanel.gridPanel - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">GridPanel</a> / <a href="./grid-panel.html">gridPanel</a><br/> <br/> <h1>gridPanel</h1> <a name="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))"></a> <code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">gridPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoColumns">autoColumns</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoRows">autoRows</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/autoFlow">autoFlow</span><span class="symbol">:</span> <a href="../-g-r-i-d-f-l-o-w/index.html"><span class="identifier">GRIDFLOW</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateColumns">templateColumns</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateRows">templateRows</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/templateAreas">templateAreas</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/columnGap">columnGap</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/rowGap">rowGap</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/justifyItems">justifyItems</span><span class="symbol">:</span> <a href="../-g-r-i-d-j-u-s-t-i-f-y/index.html"><span class="identifier">GRIDJUSTIFY</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-g-r-i-d-a-l-i-g-n/index.html"><span class="identifier">GRIDALIGN</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/justifyContent">justifyContent</span><span class="symbol">:</span> <a href="../-g-r-i-d-j-u-s-t-i-f-y-c-o-n-t-e-n-t/index.html"><span class="identifier">GRIDJUSTIFYCONTENT</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span> <a href="../-g-r-i-d-a-l-i-g-n-c-o-n-t-e-n-t/index.html"><span class="identifier">GRIDALIGNCONTENT</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel.Companion$gridPanel(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GRIDFLOW, kotlin.String, kotlin.String, kotlin.collections.List((kotlin.String)), kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.GRIDJUSTIFY, pl.treksoft.kvision.panel.GRIDALIGN, pl.treksoft.kvision.panel.GRIDJUSTIFYCONTENT, pl.treksoft.kvision.panel.GRIDALIGNCONTENT, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.GridPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">GridPanel</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">GridPanel</span></a></code> <p>DSL builder extension function.</p> <p>It takes the same parameters as the constructor of the built component.</p> </BODY> </HTML>