ArcBees/GWTP — pull request #302 by jDramaix (2013-08-08 12:41:13+00:00)
Title: The doCenter method doesn't center correctly the popup when the popup is hidden

The doCenter method is called twice when the popup presenter is revealed. The first time the method is called the popupPanel is hidden and the offsetWidth/ offsetHeight returns 0. The popuppanel is not correctly centered.

When the second call is done (in a deferred command) the popup is visible and so is correctly centered. But it looks like the popup jumps from the bottom right corner to the center. Furthermore if the developer is trying to align another widget with the popup (a tooltip for example) during the on reveal, the elements is misplaced.