# Revision history [back]

### how do I get borderlayout to fill its container?

In Java, the BorderLayout expands its children to fill the container it is in. How do I do that here?

I want to have a .zul file that looks something like this (simplified) fill the browser window completely when it loads and continue to fill it as it's resized:

<label value="Center stuff goes here"/>
<south sclass="footer"> <label value="this is the footer"/> </south> </borderlayout> </zk>

It really ought to be as simple as setting vflex="1" for the borderlayout component (or perhaps the center one), but that doesn't work. (I'm using 8.5.2)

 2 No.2 Revision

### how do I get borderlayout to fill its container?

In Java, the BorderLayout expands its children to fill the container it is in. How do I do that here?

I want to have a .zul file that looks something like this (simplified) fill the browser window completely when it loads and continue to fill it as it's resized:

<zk>
<borderlayout>
</north>
<center sclass="content">
<label value="Center stuff goes here"/>
here" />
</center>
<south sclass="footer">
<label value="this is the footer"/>
footer" />
</south>
</borderlayout>
</zk></zk>


It really ought to be as simple as setting vflex="1" for the borderlayout component (or perhaps the center one), but that doesn't work. (I'm using 8.5.2)

Support Options
• Email Support
• Training
• Consulting
• Outsourcing