Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 278 → Rev 279

/trunk/src/org/tela_botanica/client/vues/observation/indicateurs/MiniZoomImageVue.java
157,7 → 157,11
// lors du double clic
if (Event.ONDBLCLICK == DOM.eventGetType(event)) {
afficherPanneauAgrandi();
if(imgZoom.isVisible()) {
imgZoom.hide();
} else {
afficherPanneauAgrandi();
}
}
}
535,7 → 539,7
XYresize[0] = tailleOr*rapport ;
}
int[] res = {Math.round(XYresize[0]),Math.round(XYresize[1])} ;
int[] res = {(int)Math.round(XYresize[0]*0.85),(int)Math.round(XYresize[1]*0.85)} ;
return res;
}
/trunk/src/org/tela_botanica/client/vues/observation/indicateurs/InformationRepartitionVue.java
117,11 → 117,13
{
String urlAgrandie = urlImage.replace("min", "max") ;
imgZoom.setHtml("<img src=\""+urlAgrandie+"\" />") ;
imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
imgZoom.setAutoHeight(true) ;
imgZoom.setAutoWidth(true) ;
imgZoom.show(this.getElement()) ;
} else {
imgZoom.hide();
}
}
/trunk/src/org/tela_botanica/client/vues/observation/indicateurs/ImageGeneriqueVue.java
116,11 → 116,13
if(!imgZoom.isVisible())
{
String urlAgrandie = urlImage.replace("min", "max") ;
imgZoom.setHtml("<img src=\""+urlAgrandie+"\" />") ;
imgZoom.setHtml("<img height="+Window.getClientHeight()*0.75+"px src=\""+urlAgrandie+"\" />") ;
imgZoom.setPagePosition( Window.getClientWidth()/2, Window.getClientHeight()/5) ;
imgZoom.setAutoHeight(true) ;
imgZoom.setAutoWidth(true) ;
imgZoom.show(this.getElement()) ;
} else {
imgZoom.hide();
}