78,6 → 78,10 |
|
image.sinkEvents(Event.ONDBLCLICK); |
|
imgZoom.setConstrain(true); |
imgZoom.setAutoHeight(true) ; |
imgZoom.setAutoWidth(true) ; |
|
this.setCls("x-image-info-rep") ; |
add(image); |
image.setPixelSize(150, 150); |
120,9 → 124,6 |
|
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(); |