private TelaInicialTopicoProfessor(MainView mainView) { this.mainView = mainView; TextConstants txtConstants = GWT.create(TextConstants.class); adicionarTopicoProfessor = new AdicionarTopicoProfessor(this); editarTopicoProfessor = new EditarTopicoProfessor(this); TabLayoutPanel tabLayoutPanel = new TabLayoutPanel(2.5, Unit.EM); // stackPanel.setPixelSize(intWidthTable + 50, intHeightTable); tabLayoutPanel.setHeight(Integer.toString(intHeightTable) + "px"); tabLayoutPanel.setAnimationDuration(500); tabLayoutPanel.setAnimationVertical(true); tabLayoutPanel.add( adicionarTopicoProfessor, new MpHeaderWidget(txtConstants.topicoAdicionar(), "images/plus-circle.png")); tabLayoutPanel.add( editarTopicoProfessor, new MpHeaderWidget(txtConstants.topicoEditar(), "images/comment_edit.png")); // VerticalPanel verticalPanelPage = new VerticalPanel(); // verticalPanelPage.add(stackPanel); // verticalPanelPage.add(new InlineHTML(" ")); initWidget(tabLayoutPanel); }
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); }