Project

General

Profile

« Previous | Next » 

Revision a4757a22

Added by Katja Luther over 6 years ago

improve data import view

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/dataimport/e4/DataImportViewE4.java
123 123
        else{
124 124
            return;
125 125
        }
126
        parent.setLayout(new GridLayout(1, false));
126 127
        Composite composite = new Composite(parent, SWT.NONE);
128
        composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
127 129
//        composite.setBounds(0, 0, 0, 298);
128 130
        composite.setLayout(new GridLayout(2, false));
129 131

  
130 132
        Composite composite_1 = new Composite(composite, SWT.NONE);
131 133
//        gd_composite_1.widthHint = 280;
132
        composite_1.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1));
134
        composite_1.setLayoutData(new GridData(SWT.FILL, SWT.TOP, false, false, 1, 1));
133 135
        composite_1.setLayout(new GridLayout(3, false));
134 136

  
135 137
        Label label = new Label(composite_1, SWT.TOP);
......
174 176

  
175 177
        //checkbox table for result
176 178
        Composite composite_2 = new Composite(composite, SWT.NONE);
177
//        gd_composite_2.heightHint = 454;
178
//        gd_composite_2.widthHint = 403;
179
        GridData gd_composite_2 = new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1);
180
        gd_composite_2.minimumWidth = 350;
181
        gd_composite_2.minimumHeight = 400;
182
        composite_2.setLayoutData(gd_composite_2);
179
        composite_2.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
183 180
        composite_2.setLayout(new GridLayout(2, false));
184 181

  
185 182

  
......
187 184

  
188 185

  
189 186
        table = checkboxTableViewer.getTable();
190
//        gd_table.heightHint = 252;
191
//        gd_table.widthHint = 312;
192
        GridData gd_table = new GridData(SWT.LEFT, SWT.TOP, true, true, 1, 1);
193
        gd_table.minimumWidth = 350;
194
        gd_table.minimumHeight = 400;
195
        table.setLayoutData(gd_table);
187
        table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
196 188
        toolkit.paintBordersFor(table);
197 189

  
198 190
        composite_3 = new Composite(composite_2, SWT.NONE);
199 191
//        gd_composite_3.heightHint = 48;
200
        composite_3.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, false, false, 1, 1));
192
        composite_3.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false, 1, 1));
201 193
        toolkit.paintBordersFor(composite_3);
202 194
        composite_3.setLayout(new GridLayout(1, false));
203 195
        //toggle button
......
206 198
        new Label(composite_2, SWT.NONE);
207 199

  
208 200
        Composite composite_4 = new Composite(composite_2, SWT.NONE);
201
        composite_4.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false, 1, 1));
209 202
        toolkit.adapt(composite_4);
210 203
        toolkit.paintBordersFor(composite_4);
211 204

  

Also available in: Unified diff