Project

General

Profile

Revision 54efcbc1

ID54efcbc14c5f1a47293630003673ca8f43d5e30a
Parent 79fdecc4
Child 99a84b89

Added by Katja Luther almost 3 years ago

ref #7854: move count and default ref in one line

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/DistributionEditor.java
168 168
        Composite topComposite = new Composite(parent, SWT.NONE);
169 169
        createTopComposite(topComposite);
170 170

  
171
        Composite bottomComposite = new Composite(parent, SWT.NONE);
172
        GridLayoutFactory.fillDefaults().applyTo(bottomComposite);
171

  
173 172

  
174 173
        natTable = new NatTable(parent, false);
175 174
        parent.pack();
......
177 176

  
178 177
//       // natTable = new NatTable(parent, viewportLayer);
179 178
//        natTable = new NatTable(parent, false);
180

  
181
        createStatusBar(parent);
179
        Composite bottomComposite = new Composite(parent, SWT.NONE);
180
        GridLayoutFactory.fillDefaults().applyTo(bottomComposite);
181
        createStatusBar(bottomComposite);
182 182
    }
183 183

  
184 184
    public boolean isShowRank() {
......
227 227

  
228 228
    private void createStatusBar(Composite composite) {
229 229
        GridData gridData = new GridData();
230
        gridData.horizontalSpan = 2;
231
        gridData.grabExcessHorizontalSpace = true;
232
        gridData.horizontalAlignment = GridData.FILL;
233
        GridLayout gridLayout = new GridLayout();
234
        gridLayout.numColumns = 2;
235
        composite.setLayoutData(gridData);
236
        composite.setLayout(gridLayout);
237

  
238

  
239
        gridData = new GridData();
230 240
        gridData.horizontalSpan = 1;
231 241
        gridData.grabExcessHorizontalSpace = true;
232 242
        gridData.horizontalAlignment = GridData.FILL;

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)