|
Processing... Adjust border sizes or collapse and expand them!
Description & Source Code
The border layout divides its container into 5 areas: north, west, south, east, and center. The borders may set to be "splittable" and "collapsable". A splittable border may be dragged to adjust its range, which in turn is confined by its maximum and minimum size. A collapsable border allows users to completely show and hide its bounded area. border_layout.zul
<borderlayout height="450px"> <north title="North" maxsize="300" size="50%" splittable="true" collapsible="true"> <borderlayout> <west title="West" size="25%" vflex="1" maxsize="250" splittable="true" collapsible="true"> <div style="background:#B8D335"> <label value="25%" style="color:white;font-size:50px" /> </div> </west> <center border="none" vflex="true"> <div style="background:#E6D92C"> <label value="25%" style="color:white;font-size:50px" /> </div> </center> <east size="50%" border="none" vflex="true"> <label value="Here is a non-border" style="color:gray;font-size:30px" /> </east> </borderlayout> </north> <center border="0"> <borderlayout> <west maxsize="600" size="30%" vflex="1" border="0" splittable="true"> <div style="background:#E6D92C"> <label value="30%" style="color:white;font-size:50px" /> </div> </west> <center> <label value="Here is a border" style="color:gray;font-size:30px" /> </center> <east title="East" size="30%" vflex="true" collapsible="true"> <div style="background:#B8D335"> <label value="30%" style="color:white;font-size:50px" /> </div> </east> </borderlayout> </center> </borderlayout>
Copyright © 2005-2024 Potix Corporation All rights reserved.
|
Processing... |