OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 174 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 174 Rev 180
Line 166... Line 166...
166
                    c.gridy++;
166
                    c.gridy++;
167
                }
167
                }
168
            }
168
            }
169
            if (this.hasAdditionnalFields) {
169
            if (this.hasAdditionnalFields) {
170
                if ((currentGroup == this.group && this.additionnalFieldsGroup == null) || (currentGroup == this.additionnalFieldsGroup)) {
170
                if ((currentGroup == this.group && this.additionnalFieldsGroup == null) || (currentGroup == this.additionnalFieldsGroup)) {
171
                    final Map<String, JComponent> additionalFields = this.getElement().getAdditionalFields();
-
 
172
                    for (String field : additionalFields.keySet()) {
171
                    for (String field : this.getElement().getAdditionalFields().keySet()) {
173
                        Item item = new Item(field, new LayoutHints(false, false, true, false, true, false));
172
                        Item item = new Item(field, new LayoutHints(false, false, true, false, true, false));
174
                        int fill = c.fill;
173
                        int fill = c.fill;
175
                        double weightx = c.weightx;
174
                        double weightx = c.weightx;
176
                        c.weightx = 1;
175
                        c.weightx = 1;
177
                        c.fill = GridBagConstraints.HORIZONTAL;
176
                        c.fill = GridBagConstraints.HORIZONTAL;