In version 3.7, there are extra scrollbars that appear when a toolbar is present because the grid is set to the full size of the parent, and so there is not enough room for the toolbar and the grid.
The fix is simple -- in WindowsBasedCrudLayout(), replace mainComponentLayoutsetSizeFull() with setWidth("100%"). The setExpand() a few lines below will do the rest (using all the vertical space)
In version 3.7, there are extra scrollbars that appear when a toolbar is present because the grid is set to the full size of the parent, and so there is not enough room for the toolbar and the grid.
The fix is simple -- in WindowsBasedCrudLayout(), replace
mainComponentLayoutsetSizeFull()
with setWidth("100%"). The setExpand() a few lines below will do the rest (using all the vertical space)