<HTML> <HEAD> <meta charset="UTF-8"> <title>HPanel.hPanel - 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">HPanel</a> / <a href="./h-panel.html">hPanel</a><br/> <br/> <h1>hPanel</h1> <a name="pl.treksoft.kvision.panel.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, 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">hPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span> <a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span> <a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, kotlin.Unit)))/spacing">spacing</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.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, 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.HPanel.Companion$hPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.HPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <a href="index.html"><span class="identifier">HPanel</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">HPanel</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>