I have a problem specific to the decoratedTabPanel. When I add a map
(contained in a simple panel) to the tab panel, the RHS of the map is grey.
However if the map is placed outside the tab panel, the whole map is
visible.
I have tried the map.checkResizAndCenter() method and have tried setting
different sizes. None of the above fix the problems.
This is happening because the map doesn't size itself correctly when it
isn't attached to the DOM. Try using a ScheduledCommand to call
checkResizeAndCenter() and also add the call after the tab is selected.