Project

General

Profile

« Previous | Next » 

Revision c8ee483b

Added by Katja Luther over 3 years ago

layout issues in set sec reference config wizard

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/configurator/SetSecundumConfiguratorWizardPage.java
27 27
import eu.etaxonomy.cdm.api.service.config.SecundumForSubtreeConfigurator;
28 28
import eu.etaxonomy.cdm.model.reference.Reference;
29 29
import eu.etaxonomy.taxeditor.l10n.Messages;
30
import eu.etaxonomy.taxeditor.preference.Resources;
31
import eu.etaxonomy.taxeditor.store.StoreUtil;
30 32
import eu.etaxonomy.taxeditor.ui.dialog.selection.SelectionDialogFactory;
31 33
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
32 34

  
......
111 113
        gridLayoutRef.numColumns = 4;
112 114

  
113 115
        compositeRef.setLayout(gridLayoutRef);
114
        compositeRef.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
116
        compositeRef.setLayoutData(new GridData(SWT.BEGINNING, SWT.BEGINNING, true, true));
115 117
        Label label = new Label(compositeRef, SWT.WRAP);
116 118
        label.setText(Messages.SetSecundumConfiguration_NewSecundum_Label);
117
        label.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, false));
119
        label.setLayoutData(new GridData(SWT.BEGINNING, SWT.BEGINNING, false, false));
118 120

  
119 121
        textReference = new Text(compositeRef, SWT.BORDER);
120 122
        textReference.setEditable(false);
121
        GridData layoutData = new GridData(SWT.FILL, SWT.CENTER, true, false);
122
        textReference.setLayoutData(layoutData);
123
        textReference.setTextLimit(Text.LIMIT);
123
        textReference.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
124
//        textReference.setTextLimit(Text.LIMIT);
125
        textReference.setBackground(StoreUtil
126
                .getColor(Resources.COLOR_TEXT_DISABLED_BACKGROUND));
124 127

  
125 128

  
126 129
        btnBrowseReference = new Button(compositeRef, SWT.NONE);

Also available in: Unified diff