public LOpenTrialsDocumentCardPanel(IDomeo domeo) {
    _domeo = domeo;

    initWidget(binder.createAndBindUi(this));
    body.setHeight("100%");
    tabToolsPanel.setHeight(Window.getClientHeight() - 45 + "px");
    // tabToolsPanel.addStyleName(style.tabLayoutPanel());
    urlImage.setVisible(false);
  }
示例#2
0
  /** Create a new GGWToolBar object */
  public GGWToolBar() {
    toolBarPanel = new FlowPanel();
    toolBarPanel.addStyleName("ggbtoolbarpanel");
    // this makes it draggable on SMART board
    toolBarPanel.addStyleName("smart-nb-draggable");

    // For app we set this also in GGWFrameLayoutPanel, but for applets we must set it here
    toolBarPanel.setHeight(GLookAndFeelI.TOOLBAR_HEIGHT + "px");
    initWidget(toolBarPanel);
  }
  public GameControlPanel() {
    super();
    childPanel = new FlowPanel();
    childPanel.setHeight("100%");
    childPanel.setWidth("100%");
    super.add(childPanel);
    this.setStyleName("control_game_panel");
    this.initKeyModifierHandlers();
    this.setFocus(true);
    Window.addResizeHandler(
        new ResizeHandler() {

          @Override
          public void onResize(ResizeEvent event) {
            GameControlPanel.this.onResize();
          }
        });
  }
 @Override
 public void onResize() {
   htmlPanel.setHeight(getParent().getParent().getOffsetHeight() + "px");
   editor.onResize();
 }
示例#5
0
 public VerticalSeparator(String size) {
   FlowPanel panel = new FlowPanel();
   panel.setHeight(size);
   initWidget(panel);
 }