Package org.apache.isis.viewer.dnd.view.composite

Examples of org.apache.isis.viewer.dnd.view.composite.StackLayout


    public void layoutFixedWidth() throws Exception {
        final View view = new DummyWorkspaceView();
        view.addView(subview1);
        view.addView(subview2);

        layout = new StackLayout(true);
        layout.layout(view, Size.createMax());

        Assert.assertEquals(new Size(120, 20), subview1.getSize());
        Assert.assertEquals(new Size(120, 20), subview2.getSize());
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.viewer.dnd.view.composite.StackLayout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.