I have two layouts.
One layout is embedded in another layout and so its position is controlled by its parent’s position.
The other layout is independent of the first and is positioned relative to the first layout.
When the browser window is zoomed in or out, the position of the first layout changes on the screen.
I would like to be able to change the position of the second layout so that it stays in a position relative to the first layout.
However, I have not found a way to track the change in position of the first layout when there are changes to the browser window such as zoom in or zoom out.
I have tried adding these handlers: addMovedHandler, addDrawHandler, and addResizedHandler.
None of these handlers are called when zoom in our zoom out is done on the browser window causing the first layout to move around on the screen.
This results in the first layout moving its position on the screen, but the second layout stays position in the same place, which is wrong.
How can I make sure the second layout tracks the first layout so that its relative position to the first layout stays the same?
One layout is embedded in another layout and so its position is controlled by its parent’s position.
The other layout is independent of the first and is positioned relative to the first layout.
When the browser window is zoomed in or out, the position of the first layout changes on the screen.
I would like to be able to change the position of the second layout so that it stays in a position relative to the first layout.
However, I have not found a way to track the change in position of the first layout when there are changes to the browser window such as zoom in or zoom out.
I have tried adding these handlers: addMovedHandler, addDrawHandler, and addResizedHandler.
None of these handlers are called when zoom in our zoom out is done on the browser window causing the first layout to move around on the screen.
This results in the first layout moving its position on the screen, but the second layout stays position in the same place, which is wrong.
How can I make sure the second layout tracks the first layout so that its relative position to the first layout stays the same?
Comment