The size and border Properties

You could specify the size property of the following children components (north,south,east,west) to determine their sizes. However, the function of size property depends on the type of children components (vertically or horizontally). For horizontal components (north, and south), the size property determines their height. As for vertically components (east, and west), the size property determines their width.

The border property determines whether there exists border for these layout components, including all children components of borderlayout. The following table specifies values of border property.

Value

Description

none (default)

Without border

normal

With border

Here is an example.

<borderlayout height="500px">
    <north size="30%" border="normal">    
        The North        
    </north>    
    <east size="30%" border="normal">    
         The East        
    </east>    

    <center border="normal">    
        The Center        
    </center>    
    <west border="normal">    
        The West        
    </west>    
    <south border="normal">    
        The South        
    </south>    
</borderlayout>