Commit fc8512e7 authored by Pietro Braghieri's avatar Pietro Braghieri
Browse files

improve dialog layout

parent 0eefceb5
Pipeline #99045 skipped with stage
......@@ -136,13 +136,16 @@ public class ModelCheckingParametersDialog extends Dialog {
final Composite container2 = new Composite(container, SWT.NONE);
container2.setLayout(new GridLayout(2, false));
container2.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
GridData gd_container2 = new GridData(SWT.FILL, SWT.FILL, false, false);
gd_container2.widthHint = 405;
gd_container2.heightHint = 228;
container2.setLayoutData(gd_container2);
final Label lblCheck = new Label(container2, SWT.NONE);
lblCheck.setText("Check Type");
final GridData gd_comboCheckType = new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1);
gd_comboCheckType.widthHint = 200;
gd_comboCheckType.widthHint = 289;
comboCheckType = new Combo(container2, SWT.NONE | SWT.READ_ONLY);
comboCheckType.setLayoutData(gd_comboCheckType);
......@@ -152,7 +155,7 @@ public class ModelCheckingParametersDialog extends Dialog {
lblAlgorithm.setText("Algorithm Type");
final GridData gd_comboAlgorithmType = new GridData(SWT.LEFT, SWT.CENTER, true, false, 1, 1);
gd_comboAlgorithmType.widthHint = 200;
gd_comboAlgorithmType.widthHint = 286;
comboAlgorithmType = new Combo(container2, SWT.NONE | SWT.READ_ONLY);
comboAlgorithmType.setLayoutData(gd_comboAlgorithmType);
......@@ -167,15 +170,18 @@ public class ModelCheckingParametersDialog extends Dialog {
{
propertyText.setText(function.getFormula());
}
final Composite container3 = new Composite(container, SWT.NONE);
GridLayout gl_container3 = new GridLayout(1, false);
container3.setLayout(gl_container3);
container3.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
asyncCheckBox = new Button(container3, SWT.CHECK);
asyncCheckBox.setText("OSLC Asynchronous Execution");
asyncCheckBox.setSelection(asyncExecution);
asyncCheckBox = new Button(container, SWT.CHECK);
asyncCheckBox.setText("OSLC Asynchronous Execution");
asyncCheckBox.setSelection(asyncExecution);
new Label(container, SWT.NONE);
new Label(container, SWT.NONE);
new Label(container, SWT.NONE);
final Composite container3 = new Composite(container, SWT.NONE);
GridLayout gl_container3 = new GridLayout(1, false);
container3.setLayout(gl_container3);
container3.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, false));
return container;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment