mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
correct netmask width on Linux only - Win/Mac seem to be better without
This commit is contained in:
parent
a4109ab387
commit
f42e9e92ee
@ -113,9 +113,11 @@ public class RangeFeederGUI extends AbstractFeederGUI {
|
||||
netmaskCombo.setToolTipText(getLabel("feeder.range.netmask.tooltip"));
|
||||
|
||||
pack();
|
||||
Rectangle comboBounds = netmaskCombo.getBounds();
|
||||
Rectangle endIPBounds = endIPText.getBounds();
|
||||
netmaskCombo.setBounds(comboBounds.x, comboBounds.y, endIPBounds.x + endIPBounds.width - comboBounds.x, comboBounds.height);
|
||||
if (Platform.LINUX) {
|
||||
Rectangle comboBounds = netmaskCombo.getBounds();
|
||||
Rectangle endIPBounds = endIPText.getBounds();
|
||||
netmaskCombo.setBounds(comboBounds.x, comboBounds.y, endIPBounds.x + endIPBounds.width - comboBounds.x, comboBounds.height);
|
||||
}
|
||||
|
||||
// do this stuff asynchronously (to show GUI faster)
|
||||
asyncFillLocalHostInfo(hostnameText, startIPText);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user