From c63e7a165bd904d51d698832729def4796766eb2 Mon Sep 17 00:00:00 2001 From: Hans Van Akelyen Date: Mon, 18 Nov 2024 09:10:37 +0100 Subject: [PATCH] fix filter dialog size, fixes #4575 --- .../org/apache/hop/ui/core/dialog/EnterConditionDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/main/java/org/apache/hop/ui/core/dialog/EnterConditionDialog.java b/ui/src/main/java/org/apache/hop/ui/core/dialog/EnterConditionDialog.java index 84d3359653a..81a10e07361 100644 --- a/ui/src/main/java/org/apache/hop/ui/core/dialog/EnterConditionDialog.java +++ b/ui/src/main/java/org/apache/hop/ui/core/dialog/EnterConditionDialog.java @@ -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()); @@ -65,7 +66,6 @@ public Condition open() { formLayout.marginHeight = PropsUi.getFormMargin(); int margin = PropsUi.getMargin() * 2; - shell.setLayout(formLayout); // Condition widget