Package com.vaadin.ui

Examples of com.vaadin.ui.HorizontalLayout.addStyleName()


        labels.setComponentAlignment(title, Alignment.MIDDLE_RIGHT);

        HorizontalLayout fields = new HorizontalLayout();
        fields.setSpacing(true);
        fields.setMargin(true);
        fields.addStyleName("fields");

        final TextField username = new TextField("Username");
        username.focus();
        fields.addComponent(username);
       
View Full Code Here


        canvas.addStyleName("canvas");
        editor.addComponent(canvas);
        editor.setExpandRatio(canvas, 7);

        // editor.addStyleName("no-vertical-drag-hints");
        editor.addStyleName("editor");
        editor.addStyleName("no-horizontal-drag-hints");

        Label help = new Label("Drag items to the canvas");
        help.addStyleName("help");
        paletteLayout.addComponent(help);
View Full Code Here

        editor.addComponent(canvas);
        editor.setExpandRatio(canvas, 7);

        // editor.addStyleName("no-vertical-drag-hints");
        editor.addStyleName("editor");
        editor.addStyleName("no-horizontal-drag-hints");

        Label help = new Label("Drag items to the canvas");
        help.addStyleName("help");
        paletteLayout.addComponent(help);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.