Project

General

Profile

« Previous | Next » 

Revision d9ff01e1

Added by Katja Luther about 5 years ago

ref #7849: identation for sec preferences

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/preference/NameDetailsViewConfiguration.java
1 1
package eu.etaxonomy.taxeditor.preference;
2 2

  
3 3

  
4
import org.eclipse.jface.layout.GridLayoutFactory;
4 5
import org.eclipse.swt.SWT;
5 6
import org.eclipse.swt.custom.CLabel;
6 7
import org.eclipse.swt.events.SelectionAdapter;
......
130 131
                  }
131 132
             });
132 133

  
134
            Composite taxonComp = new Composite(dbSettings, SWT.NULL);
133 135

  
136
            GridLayoutFactory.fillDefaults().applyTo(taxonComp);
134 137

  
135
            secEnabled = new Button(dbSettings, SWT.CHECK);
138
            GridData data = new GridData();
139
            data.horizontalIndent = 5;
140
            data.horizontalSpan = 2;
141
            taxonComp.setLayoutData(data);
142

  
143
            secEnabled = new Button(taxonComp, SWT.CHECK);
136 144
            secEnabled.setText(Messages.NameDetailsViewComposite_SecEnabled);
137 145

  
138 146
            isSecEnabled = nameDetailsConfig.isSecEnabled();
......
145 153
                     nameDetailsConfig.setSecEnabled(isSecEnabled);
146 154
                  }
147 155
             });
148
            showSecDetail = new Button(dbSettings, SWT.CHECK);
156
            showSecDetail = new Button(taxonComp, SWT.CHECK);
149 157
            showSecDetail.setText(Messages.NameDetailsViewComposite_Show_SecDetail);
150 158

  
151 159
            isSecDetailsActivated = nameDetailsConfig.isSecDetailsActivated();

Also available in: Unified diff