/** * Create a ScrollPanel that has fixed width and height. * * @param widget * @param width * @param height * @return */ public static ScrollPanel scrollPanel(Widget widget, int width, int height) { ScrollPanel panel = scrollPanel(widget); UIUtils.objectSetPixelSizeIntelligently(panel, width, height); return panel; }