Skip to content

Commit

Permalink
fix filter dialog size, fixes apache#4575
Browse files Browse the repository at this point in the history
  • Loading branch information
hansva committed Nov 18, 2024
1 parent e7539b7 commit c63e7a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public EnterConditionDialog(Shell parent, int style, IRowMeta fields, Condition
public Condition open() {
Shell parent = getParent();
shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE | SWT.MAX | SWT.MIN);
shell.setMinimumSize(400, 200);
PropsUi.setLook(shell);
shell.setText(BaseMessages.getString(PKG, "EnterConditionDialog.Title"));
shell.setImage(GuiResource.getInstance().getImageHopUi());
Expand All @@ -65,7 +66,6 @@ public Condition open() {
formLayout.marginHeight = PropsUi.getFormMargin();

int margin = PropsUi.getMargin() * 2;

shell.setLayout(formLayout);

// Condition widget
Expand Down

0 comments on commit c63e7a1

Please sign in to comment.