Reputation: 7090
In GWT, Is there a font resize event that I can listen to to capture events when the user changes the size of the font by Ctrl-Mouse Scroll/view -> Zoom?
Googled, and looked in StackOverflow. Found nothing. Apologies if it's been asked and I missed it.
Thanks.
Upvotes: 2
Views: 171
Reputation: 16079
Try using this code, it handles Control +/- and mouse scroll:
Window.addResizeHandler(new ResizeHandler() {
public void onResize(ResizeEvent event) {
Window.alert("Resized");
}
});
Upvotes: 2