mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
better layout of range feeder
This commit is contained in:
parent
0b5ae6d888
commit
95f3bc4972
@ -52,7 +52,7 @@ public class RangeFeederGUI extends AbstractFeederGUI {
|
||||
}
|
||||
|
||||
public void initialize(int rowHeight) {
|
||||
setLayout(new GridLayout(4, false));
|
||||
setLayout(new GridLayout(5, false));
|
||||
|
||||
ipRangeLabel = new Label(this, SWT.NONE);
|
||||
startIPText = new Text(this, SWT.BORDER);
|
||||
@ -72,6 +72,10 @@ public class RangeFeederGUI extends AbstractFeederGUI {
|
||||
hostnameText.setLayoutData(new GridData(textWidth, -1));
|
||||
netmaskCombo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
|
||||
|
||||
((GridData)endIPText.getLayoutData()).horizontalSpan = 2;
|
||||
GridData ipUpData = new GridData(); ipUpData.horizontalSpan = 2;
|
||||
ipUpButton.setLayoutData(ipUpData);
|
||||
|
||||
ipRangeLabel.setText(getLabel("feeder.range") + ":");
|
||||
ipRangeLabel.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_END));
|
||||
hostnameLabel.setText(getLabel("feeder.range.hostname") + ":");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user