Package org.gwtoolbox.widget.client.panel.layout

Examples of org.gwtoolbox.widget.client.panel.layout.VerticalLayout$Impl


@LayoutSample
public class VerticalLayoutSample extends ResizeComposite implements SamplePanel {

    public VerticalLayoutSample() {

        VerticalLayout layout = new VerticalLayout();
        DOM.setStyleAttribute(layout.getElement(), "borderBottom", "1px solid blue");
        layout.addWidget(createContent("height: 70px", "#CCFFCC", "BLUE"), new VerticalLayoutData().setHeight("70px"));
        Widget content = createContent("height: 50%", "#FFFBA3", "GREEN");
        content.setVisible(true);
        layout.addWidget(content, new VerticalLayoutData().setHeight("50%"));
        layout.addWidget(createContent("height: *", "#FFC0CB", "black"));

        initWidget(layout);
    }
View Full Code Here

TOP

Related Classes of org.gwtoolbox.widget.client.panel.layout.VerticalLayout$Impl

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.