task_21363 #1

Closed
francesco.mangiacrapa wants to merge 53 commits from task_21363 into master
1 changed files with 7 additions and 1 deletions
Showing only changes of commit d9ec54bd11 - Show all commits

View File

@ -23,6 +23,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.ScrollPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.view.client.AsyncDataProvider;
@ -74,6 +75,7 @@ public class ContentModeratorPaginatedView {
initPagination(ITEMS_PER_PAGE);
// loadNewPage(ITEM_START_INDEX, ITEMS_PER_PAGE, false);
loadItemsForStatus(theStatus);
}
/**
@ -107,7 +109,11 @@ public class ContentModeratorPaginatedView {
pager.setPageSize(itemsPerPage);
pager.getElement().getStyle().setProperty("margin", "auto");
vPanel.add(loadingPanel);
vPanel.add(getCellTable());
ScrollPanel scroll = new ScrollPanel();
scroll.getElement().getStyle().setProperty("maxHeight", "470px");
scroll.add(getCellTable());
vPanel.add(scroll);
vPanel.getElement().addClassName("vPanel");
pagerPanel.add(pager);
}