improve comment

This commit is contained in:
Anton Keks 2021-02-01 23:39:53 +02:00
parent 855a51caec
commit 16b075dedd

View File

@ -116,7 +116,7 @@ public class RangeFeederGUI extends AbstractFeederGUI {
Rectangle comboBounds = netmaskCombo.getBounds();
Rectangle endIPBounds = endIPText.getBounds();
int width = endIPBounds.x + endIPBounds.width - comboBounds.x - 5;
if (Platform.WINDOWS) width -= 22; // TODO: probably this number will change with updated SWT version
if (Platform.WINDOWS) width -= 22; // TODO: remove width of down arrow, this number may change with updated SWT version
((GridData) netmaskCombo.getLayoutData()).widthHint = width;
pack();