Package com.extjs.gxt.ui.client.util

Examples of com.extjs.gxt.ui.client.util.Margins


    ContentPanel center = new ContentPanel();
    center.setFrame(false);
    center.setBodyBorder(false);
    center.setHeaderVisible(false);
    BorderLayoutData centerData = new BorderLayoutData(LayoutRegion.CENTER,350)
      centerData.setMargins(new Margins(0));
     
    ContentPanel east = new ContentPanel();
    east.setLayout(new FitLayout());
    east.setHeading("Buddys");
    east.setFrame(false);
    east.setBodyBorder(false);
    BorderLayoutData eastData = new BorderLayoutData(LayoutRegion.EAST, 200)
      eastData.setSplit(true)
      //eastData.setCollapsible(true); 
      eastData.setMargins(new Margins(5));
   
    //the center widgets
    childPanel = new ContentPanel();
    childPanel.addStyleName("message_view");
    childPanel.setHeaderVisible(false);
View Full Code Here


        ((TriggerField<? extends Object>) f).setMonitorTab(true);
      }
      f.setWidth(cm.getColumnWidth(i));
      HBoxLayoutData ld = new HBoxLayoutData();
      if (i == 0) {
        ld.setMargins(new Margins(0, 1, 2, 1));
      } else if (i == len - 1) {
        ld.setMargins(new Margins(0, 0, 2, 1));
      } else {
        ld.setMargins(new Margins(0, 1, 2, 2));
      }

      f.setMessageTarget("tooltip");
      f.addStyleName("x-row-editor-field");
      // needed because we remove it from the celleditor
View Full Code Here

    horizontalPanel.add(vPanelLDAP);
    horizontalPanel.add(vPanelPatron);
    horizontalPanel.add(vPanelArchivos);
    horizontalPanel.add(vPanelServicios);

    add(tabPanel, new RowData(WINDOW_WIDTH, Style.DEFAULT, new Margins()));
   
    addGrid();
   

  }
View Full Code Here

    grid.defaultContextMenu();
    grid.setSize(GRID_WIDTH, GRID_HEIGTH);
    grid.setBorders(true);
    grid.defaultActionOnSelectItem();
    this.setBottomComponent(grid.getToolBar());
    add(grid, new RowData(GRID_WIDTH, Style.DEFAULT, new Margins()));
  }
View Full Code Here

   * Agrega una grilla
   */
  private void addGrid() {
    grid.setSize(GRID_WIDTH, GRID_HEIGTH);
    grid.setBorders(true);
    add(grid, new RowData(GRID_WIDTH, Style.DEFAULT, new Margins()));
  }
View Full Code Here

   
    ContentPanel cntntpnlNewContentpanel = new ContentPanel();
    cntntpnlNewContentpanel.setHeaderVisible(false);
   
    cntntpnlNewContentpanel.add(htmlEditor);
    add(cntntpnlNewContentpanel, new RowData(Style.DEFAULT, 300.0, new Margins()));
   
  }
View Full Code Here

        Context.getInstance().addDetailExecution("RelationWindow - cantidad taskSelected:" + taskSelected.size());
        TaskSelectWindow modal = new TaskSelectWindow(taskSelected);
        modal.show();
      }
    });
    add(tabPanel, new RowData(WINDOW_WIDTH, Style.DEFAULT, new Margins()));
   
    addGrid();
   

  }
View Full Code Here

    grid.defaultContextMenu();
    grid.setSize(GRID_WIDTH, GRID_HEIGTH);
    grid.setBorders(true);
    grid.defaultActionOnSelectItem();
    this.setBottomComponent(grid.getToolBar());
    add(grid, new RowData(GRID_WIDTH, Style.DEFAULT, new Margins()));
  }
View Full Code Here

  protected int getSideMargins(Component c) {
    if (GXT.isWebKit) {
      LayoutData data = getLayoutData(c);
      if (data != null && data instanceof MarginData) {
        MarginData m = (MarginData) data;
        Margins margins = m.getMargins();
        if (margins == null) {
          return 0;
        }
        int tot = 0;
        if (margins.left != -1) {
View Full Code Here

    tbtmDetalles.setHeight(DETAILS_HEIGTH.toString());

    panel.add(getPanelFields());
    panel.add(getPermissions());

    add(tabPanel, new RowData(WINDOW_WIDTH, Style.DEFAULT, new Margins()));
   
    addGrid();

  }
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.util.Margins

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.