Rev 703 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client.vues;import com.extjs.gxt.ui.client.widget.Window;import com.extjs.gxt.ui.client.widget.layout.FitLayout;import com.google.gwt.core.client.GWT;public class FenetreForm extends Window{public FenetreForm(String titre) {int hauteur = (int) Math.ceil(com.google.gwt.user.client.Window.getClientHeight() * .8);int largeur = (int) Math.ceil(com.google.gwt.user.client.Window.getClientWidth() * .8);GWT.log("Taille:"+hauteur+"x"+largeur, null);setSize(largeur, hauteur);setPlain(true);setModal(true);setBlinkModal(true);setHeading(titre);setLayout(new FitLayout());}}