Project

General

Profile

« Previous | Next » 

Revision db9e7dad

Added by Andreas Kohlbecker almost 4 years ago

ref #9182 improving layout of collection editor

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/occurrence/CollectionPopupEditor.java
117 117

  
118 118
        int row = 0;
119 119
        codeField = addTextField("Code", "code", 0, row, 0, row);
120
        codeField.setWidth(100, Unit.PIXELS);
120
        codeField.setWidth(100, Unit.PERCENTAGE);
121 121

  
122 122
        codeStandardField = addTextField("Code standard", "codeStandard", 1, row, 1, row);
123
        codeStandardField.setWidth(100, Unit.PIXELS);
123
        codeStandardField.setWidth(100, Unit.PERCENTAGE);
124 124

  
125 125
        townOrLocationField = addTextField("Town or location", "townOrLocation", 2, row, 2, row);
126
        townOrLocationField.setWidth(100, Unit.PIXELS);
126
        townOrLocationField.setWidth(100, Unit.PERCENTAGE);
127 127

  
128 128
        row++;
129 129
        nameField = addTextField("Name", "name", 0, row, 2, row);
130
        nameField.setWidth(100, Unit.PERCENTAGE);
130 131

  
131 132
        row++;
132 133
        superCollectionCombobox = new ToOneRelatedEntityCombobox<Collection>("In collection", Collection.class);
133 134

  
134

  
135
        superCollectionCombobox.setWidth(300, Unit.PIXELS);
136 135
        addField(superCollectionCombobox, "superCollection", 0, row, 2, row);
137 136

  
138 137
        superCollectionCombobox.getSelect().setCaptionGenerator(

Also available in: Unified diff