Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 551 → Rev 559

/trunk/src/org/tela_botanica/client/vues/StructureForm.java
239,7 → 239,7
structureFormPanneau.setCollapsible(false);
structureFormPanneau.setHeading(i18nC.titreAjoutFormStructurePanneau());
structureFormPanneau.setButtonAlign(HorizontalAlignment.CENTER);
structureFormPanneau.setLayout(new FlowLayout());
structureFormPanneau.setLayout(new FitLayout());
 
//+-----------------------------------------------------------------------------------------------------------+
// Création des onglets
780,6 → 780,7
valorisationOnglet.setText("Valorisation");
valorisationOnglet.setScrollMode(Scroll.AUTO);
valorisationOnglet.setLayout(creerFormLayout(650, LabelAlign.TOP, null));
valorisationOnglet.setStyleAttribute("padding", "10px");
valorisationOnglet.setData("acces", false); // Permet de savoir si l'onblet a été accédé par l'utilisateur
valorisationOnglet.addListener(Events.Select, new Listener<ComponentEvent>() {
public void handleEvent(ComponentEvent be) {
877,6 → 878,7
conservationOnglet.setText("Conservation");
conservationOnglet.setScrollMode(Scroll.AUTO);
conservationOnglet.setLayout(creerFormLayout(650, LabelAlign.TOP, null));
conservationOnglet.setStyleAttribute("padding", "10px");
conservationOnglet.setData("acces", false);
conservationOnglet.addListener(Events.Select, new Listener<ComponentEvent>() {
public void handleEvent(ComponentEvent be) {
1139,6 → 1141,7
personnelOnglet.setText("Personnel");
personnelOnglet.setScrollMode(Scroll.AUTO);
personnelOnglet.setLayout(creerFormLayout(400, LabelAlign.LEFT, 0));
identificationOnglet.setStyleAttribute("padding", "10px");
personnelOnglet.setData("acces", false); // Permet de savoir si l'onblet a été accédé par l'utilisateur
personnelOnglet.addListener(Events.Select, new Listener<ComponentEvent>() {
public void handleEvent(ComponentEvent be) {
1161,8 → 1164,8
cp.setIconStyle("icone-table");
//cp.setScrollMode(Scroll.AUTO);
cp.setLayout(new FitLayout());
cp.setWidth(1250);
cp.setHeight("100%");
//cp.setWidth(1250);
//cp.setHeight("100%");
cp.setFrame(true);
personnelGrilleMagazin = new ListStore<StructureAPersonne>();
1432,7 → 1435,8
 
ColumnModel cm = new ColumnModel(configs);
grillePersonnel = new EditorGrid<StructureAPersonne>(personnelGrilleMagazin, cm);
grillePersonnel = new EditorGrid<StructureAPersonne>(personnelGrilleMagazin, cm);
grillePersonnel.setHeight("100%");
grillePersonnel.setBorders(true);
grillePersonnel.setSelectionModel(sm);
grillePersonnel.addPlugin(checkColumn);
1462,6 → 1466,7
identificationOnglet.setId("identification");
identificationOnglet.setText("Identification");
identificationOnglet.setLayout(new FormLayout());
identificationOnglet.setStyleAttribute("padding", "10px");
identificationOnglet.setScrollMode(Scroll.AUTO);
identificationOnglet.setData("acces", false);
identificationOnglet.addListener(Events.Select, new Listener<ComponentEvent>() {
1819,11 → 1824,6
if (labelAlign != null) {
formLayout.setLabelAlign(labelAlign);
}
//TODO : Check : setPadding ne peut pas être placé sur le form layout mais doit l'etre sur le parent
/*if (padding != null) {
formLayout.setPadding(padding);
}*/
return formLayout;
}