north

Purpose

A north region of a border layout and only allows one component as its child.

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 north Component Reference

Java API

Show north Java API