mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
align netmask also on Mac
This commit is contained in:
parent
16b075dedd
commit
2a470daf09
@ -117,6 +117,7 @@ public class RangeFeederGUI extends AbstractFeederGUI {
|
||||
Rectangle endIPBounds = endIPText.getBounds();
|
||||
int width = endIPBounds.x + endIPBounds.width - comboBounds.x - 5;
|
||||
if (Platform.WINDOWS) width -= 22; // TODO: remove width of down arrow, this number may change with updated SWT version
|
||||
if (Platform.MAC_OS) width += 10;
|
||||
((GridData) netmaskCombo.getLayoutData()).widthHint = width;
|
||||
pack();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user