Class zebkit.layout.StackLayout
mixed with <zebkit.layout.Layout>
<zebkit.layout>

Layout manager implementation that places layoutbale components on top of each other stretching its to fill all available parent component space. Components that want to have be sized according to its preferred sizes have to have its constraints set to "usePsSize".

Constructor:
zebkit.layout.StackLayout ( )

Example:
var pan = new zebkit.ui.Panel();
pan.setLayout(new zebkit.ui.StackLayout());

// label component will be stretched over all available pan area
pan.add(new zebkit.ui.Label("A"));

// button component will be sized according to its preferred size
// and aligned to have centered vertical and horizontal alignments
pan.add("usePsSize", new zebkit.ui.Button("Ok"));