List of usage examples for com.vaadin.client Util notifyParentOfSizeChange
@Deprecated public static void notifyParentOfSizeChange(Widget widget, boolean lazy)
From source file:annis.gui.widgets.gwt.client.ui.VVideoPlayer.java
License:Apache License
private void updateSizeFromMetadata(int width, int height) { getMedia().getStyle().setWidth(width, Style.Unit.PX); getMedia().getStyle().setHeight(height, Style.Unit.PX); Util.notifyParentOfSizeChange(this, true); }