diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java index a274b4ae52d695d0b80fc11870c94eaffec47c5c..eb4972e7655171baaf18fdec672a11eede64bd12 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/ui/grid/AbstractBrowserGrid.java @@ -266,6 +266,15 @@ public abstract class AbstractBrowserGrid<T/* Entity */, M extends BaseEntityMod pagingToolbar.syncSize(); } }); + pagingToolbar.addListener(Events.AfterLayout, new Listener<BaseEvent>() + { + public void handleEvent(BaseEvent be) + { + // fixes for problems of: + // - hidden paging toolbar + contentPanel.syncSize(); + } + }); columnListener = new ColumnListener<T, M>(grid); registerLinkClickListenerFor(Dict.CODE, new ICellListener<T>() {