mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
fit all of opener dialog options
This commit is contained in:
parent
b9a4bd12dc
commit
0b9f11d06e
1
TODO.md
1
TODO.md
@ -3,7 +3,6 @@ HiDPI:
|
||||
* GTK3 startup is slow
|
||||
* GTK3 progress bar - can it be centered?
|
||||
* Fewer problems when starting with SWT_GTK3=0
|
||||
* Edit openers dialog doesn't fit
|
||||
* Scan complete Close button is partly outside of the window
|
||||
|
||||
* Remember InfoDialog size
|
||||
|
||||
@ -50,7 +50,7 @@ public class EditOpenersDialog extends AbstractModalDialog {
|
||||
openersList = new List(shell, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
|
||||
editFieldsGroup = new Group(shell, SWT.NONE);
|
||||
|
||||
openersList.setLayoutData(formData(135, 200, null, null, new FormAttachment(messageLabel, 10), new FormAttachment(editFieldsGroup, 0, SWT.BOTTOM)));
|
||||
openersList.setLayoutData(formData(140, 200, null, null, new FormAttachment(messageLabel, 10), new FormAttachment(editFieldsGroup, 0, SWT.BOTTOM)));
|
||||
for (String name : openersConfig) {
|
||||
openersList.add(name);
|
||||
}
|
||||
@ -95,7 +95,9 @@ public class EditOpenersDialog extends AbstractModalDialog {
|
||||
RowLayout rowLayout = new RowLayout(SWT.VERTICAL);
|
||||
rowLayout.fill = true;
|
||||
rowLayout.justify = true;
|
||||
rowLayout.marginTop = 13;
|
||||
rowLayout.marginTop = 5;
|
||||
rowLayout.marginBottom = 20;
|
||||
rowLayout.marginWidth = 5;
|
||||
editFieldsGroup.setLayout(rowLayout);
|
||||
|
||||
Label openerNameLabel = new Label(editFieldsGroup, SWT.NONE);
|
||||
@ -125,7 +127,6 @@ public class EditOpenersDialog extends AbstractModalDialog {
|
||||
workingDirText = new Text(editFieldsGroup, SWT.BORDER);
|
||||
workingDirText.setSize(SWT.DEFAULT, 22);
|
||||
|
||||
editFieldsGroup.layout();
|
||||
editFieldsGroup.pack();
|
||||
|
||||
Button okButton = new Button(shell, SWT.NONE);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user