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); }