borderlayout

Purpose

The layout component is a nested component. The parent component is borderlayout, and its children components include north, south, center, west, and east. All extra space is placed in the center area. The combination of children components of borderlayout is free.A borderlayout could be nested to another borderlayout (actually, almost all kinds of components) to form a complicated layout.

Examples

<z:borderlayout height="450px">
    <z:north title="North" maxsize="300" size="50%" splittable="true" collapsible="true">
        <z:borderlayout>
            <z:west title="West" size="25%" flex="true" maxsize="250" splittable="true" collapsible="true">
                <z:div style="background:#B8D335">
                    <z:label value="25%"
                            style="color:white;font-size:50px"/>
                </z:div>
            </z:west>
            <z:center border="none" flex="true">
                <z:div style="background:#E6D92C">
                    <z:label value="25%"
                            style="color:white;font-size:50px"/>
                </z:div>
            </z:center>
            <z:east size="50%" border="none" flex="true">
                <z:label value="Here is a non-border"
                        style="color:gray;font-size:30px"/>
            </z:east>
        </z:borderlayout>
    </z:north>
    <z:center border="0">
        <z:borderlayout>
            <z:west maxsize="600" size="30%" flex="true" border="0" splittable="true">
                <z:div style="background:#E6D92C">
                    <z:label value="30%"
                            style="color:white;font-size:50px"/>
                </z:div>
            </z:west>
            <z:center>
                <z:label value="Here is a border"
                        style="color:gray;font-size:30px"/>
            </z:center>
            <z:east title="East" size="30%" flex="true" collapsible="true">
                <z:div style="background:#B8D335">
                    <z:label value="30%"
                            style="color:white;font-size:50px"/>
                </z:div>
            </z:east>
        </z:borderlayout>
    </z:center>
</z:borderlayout>

Description

Attributes

ZK Official Reference

Component Reference

Show borderlayout Component Reference

Java API

Show borderlayout Java API