mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
some layout fixes for SWT 3.3 and GTK
git-svn-id: https://ipscan.svn.sourceforge.net/svnroot/ipscan/ipscan@28 375186e5-ef17-0410-b0b6-91563547dcda
This commit is contained in:
parent
dafdd6ba6c
commit
ff1949387f
@ -198,12 +198,12 @@ public class MainWindow {
|
||||
// start/stop button
|
||||
Button button = new Button(controlsArea, SWT.NONE);
|
||||
shell.setDefaultButton(button);
|
||||
button.setLayoutData(new RowData(SWT.DEFAULT, SWT.DEFAULT));
|
||||
button.setLayoutData(new RowData(SWT.DEFAULT, 23));
|
||||
button.addSelectionListener(new StartStopScanningAction(this, button));
|
||||
|
||||
// feeder selection combobox
|
||||
feederSelectionCombo = new Combo(controlsArea, SWT.READ_ONLY);
|
||||
feederSelectionCombo.setLayoutData(new RowData(SWT.DEFAULT, SWT.DEFAULT));
|
||||
feederSelectionCombo.setLayoutData(new RowData(SWT.DEFAULT, 23));
|
||||
for (Iterator i = feederGUIList.iterator(); i.hasNext();) {
|
||||
AbstractFeederGUI feederGUI = (AbstractFeederGUI) i.next();
|
||||
feederSelectionCombo.add(feederGUI.getFeederName());
|
||||
|
||||
@ -63,7 +63,7 @@ public class FileFeederGUI extends AbstractFeederGUI {
|
||||
formData = new FormData();
|
||||
formData.top = new FormAttachment(0);
|
||||
formData.left = new FormAttachment(fileNameText);
|
||||
formData.height = 20;
|
||||
formData.height = 22;
|
||||
browseButton.setLayoutData(formData);
|
||||
browseButton.addSelectionListener(new SelectionListener() {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user