}
private void recalculateSize() {
getElement().getStyle().setWidth(width.get(), com.google.gwt.dom.client.Style.Unit.PX);
getElement().getStyle().setHeight(height.get(), com.google.gwt.dom.client.Style.Unit.PX);
EPictureSizeMode psm = pictureSizeMode.get();
int imgWidth = 0;
int imgHeight = 0;
int picWidth = width.get();
int picHeight = height.get();
int cx = 0;