task_21363 #1
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue