74,6 → 74,10 |
|
|
this.setCls("x-image-gen") ; |
|
imgZoom.setConstrain(true); |
imgZoom.setAutoHeight(true) ; |
imgZoom.setAutoWidth(true) ; |
|
add(image); |
image.setPixelSize(150, 150); |
118,9 → 122,6 |
String urlAgrandie = urlImage.replace("min", "max") ; |
imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ; |
imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ; |
imgZoom.setConstrain(true); |
imgZoom.setAutoHeight(true) ; |
imgZoom.setAutoWidth(true) ; |
imgZoom.show(this.getElement()) ; |
} else { |
imgZoom.hide(); |