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:
angryziber 2006-10-10 21:18:29 +00:00
parent dafdd6ba6c
commit ff1949387f
2 changed files with 3 additions and 3 deletions

View File

@ -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());

View File

@ -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() {