Package com.gwtext.client.widgets.layout

Examples of com.gwtext.client.widgets.layout.FitLayout


    private void showSearchResults(String searchText) {
        final Window window = new Window();
        window.setTitle("Search results");
        window.setWidth(500);
        window.setHeight(365);
        window.setLayout(new FitLayout());

        FormPanel panel = new FormPanel();

        Button showInTreeButton = new Button("Select in tree", new ButtonListenerAdapter() {
            @Override
View Full Code Here


                HasAlignment.ALIGN_MIDDLE);
        Panel panel = new Panel();
        panel.setBorder(false);
        panel.setPaddings(15);
        panel.setCls("loginpanel");
        panel.setLayout(new FitLayout());
        win.setLayout(new FitLayout());

        panel.add(topEditProfileTable, new AnchorLayoutData("-100 30%"));

        win.setTitle("Edit Profile");
        win.setClosable(true);
View Full Code Here

        final IndividualsWithClassSelectionPanel classSelectionPanel = new IndividualsWithClassSelectionPanel(project, clses, allowMultiple, showClsesPanel);
        final Window selectWindow = new com.gwtext.client.widgets.Window();
        selectWindow.setTitle("Select individuals");
        selectWindow.setWidth(800);
        selectWindow.setHeight(500);
        selectWindow.setLayout(new FitLayout());
        selectWindow.setPaddings(5);
        selectWindow.setButtonAlign(Position.CENTER);
        selectWindow.setPlain(true);

        com.gwtext.client.widgets.Button cancelButton = new com.gwtext.client.widgets.Button("Cancel");
View Full Code Here

    public void showPopup(String title) {
        window = new Window();
        window.setSize(600, 470);
        window.setTitle(title);
        window.setLayout(new FitLayout());
        window.setClosable(true);
        window.setPaddings(7);
        window.setCloseAction(Window.CLOSE);
        window.setButtonAlign(Position.CENTER);
View Full Code Here

    }

    @Override
    public void initialize() {
       setTitle("Parents");
       setLayout(new FitLayout());
       parentsPanel = new ParentsPanel(getProjectId(), false, false, false, false, true);
       parentsPanel.setContainerPortlet(this);
       parentsPanel.setAutoScroll(false);
       Panel wrappingPanel = new Panel();
       wrappingPanel.add(parentsPanel.getParentsPanel());
View Full Code Here

        super(project);
    }

    @Override
    public void initialize() {
        setLayout(new FitLayout());
        setHeight(INITIAL_HEIGHT);
        presenter = new RevisionsListViewPresenter(getProjectId(), new RevisionsListViewImpl());
        presenter.reload();
        add(presenter.getWidget());
        setTitle("Revisions");
View Full Code Here

        window.setTitle("Select value");
        window.setClosable(true);
        window.setPaddings(7);
        window.setWidth(250);
        window.setHeight(350);
        window.setLayout(new FitLayout());
        window.setCloseAction(com.gwtext.client.widgets.Window.HIDE);
        window.add(new SelectionDialog(window, createSelectable()));
        window.show();
    }
View Full Code Here

                        addEmptyPropertyRow((PropertyEntityData) singleSelection);
                    }
                }
            });

            setLayout(new FitLayout());
            add((Widget) selectable);
            addButton(selectButton);
        }
View Full Code Here

            selectWindow.setTitle(getFieldLabel());
            selectWindow.setWidth(600);
            selectWindow.setHeight(480);
            selectWindow.setMinWidth(300);
            selectWindow.setMinHeight(350);
            selectWindow.setLayout(new FitLayout());
            selectWindow.setPaddings(5);
            selectWindow.setButtonAlign(Position.CENTER);

            //window.setCloseAction(Window.HIDE);
            selectWindow.setPlain(true);
View Full Code Here

    public AbstractEntityPortlet(Project project, boolean initialize) {
        super();
        this.project = project;

        setTitle(""); // very important
        setLayout(new FitLayout());

        ResizableConfig config = new ResizableConfig();
        config.setHandles(Resizable.SOUTH_EAST);

        final Resizable resizable = new Resizable(this, config);
View Full Code Here

TOP

Related Classes of com.gwtext.client.widgets.layout.FitLayout

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.