Class zebkit.layout.StackLayout
mixed with <zebkit.layout.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".

zebkit.layout.StackLayout ( )

var pan = new zebkit.ui.Panel();

// 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"));