You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2026/01/14 07:00:58 UTC

(hop) branch main updated: Fix layout spacing issue for "Trusted Hosts" field in Mail Server Connection dialog (#6371)

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hop.git


The following commit(s) were added to refs/heads/main by this push:
     new 0ca82a9c06 Fix layout spacing issue for "Trusted Hosts" field in Mail Server Connection dialog (#6371)
0ca82a9c06 is described below

commit 0ca82a9c064c4dad7ace4dfe8767d2be81a554f7
Author: lance <le...@gmail.com>
AuthorDate: Wed Jan 14 15:00:54 2026 +0800

    Fix layout spacing issue for "Trusted Hosts" field in Mail Server Connection dialog (#6371)
    
    Signed-off-by: lance <le...@gmail.com>
---
 .../java/org/apache/hop/mail/metadata/MailServerConnectionEditor.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/plugins/misc/mail/src/main/java/org/apache/hop/mail/metadata/MailServerConnectionEditor.java b/plugins/misc/mail/src/main/java/org/apache/hop/mail/metadata/MailServerConnectionEditor.java
index fd3f5b5157..a777676bd4 100644
--- a/plugins/misc/mail/src/main/java/org/apache/hop/mail/metadata/MailServerConnectionEditor.java
+++ b/plugins/misc/mail/src/main/java/org/apache/hop/mail/metadata/MailServerConnectionEditor.java
@@ -313,7 +313,7 @@ public class MailServerConnectionEditor extends MetadataEditor<MailServerConnect
             BaseMessages.getString(PKG, "MailServerConnectionDialog.TrustedHosts.Tooltip"));
     FormData fdTrustedHosts = new FormData();
     fdTrustedHosts.left = new FormAttachment(0, 0);
-    fdTrustedHosts.top = new FormAttachment(wlCheckServerIdentity, 0);
+    fdTrustedHosts.top = new FormAttachment(wlCheckServerIdentity, margin + 5);
     fdTrustedHosts.right = new FormAttachment(100, 0);
     wTrustedHosts.setLayoutData(fdTrustedHosts);
     lastControl = wTrustedHosts;
@@ -475,7 +475,6 @@ public class MailServerConnectionEditor extends MetadataEditor<MailServerConnect
         mb.setText(BaseMessages.getString(PKG, "ActionGetPOP.Connected.Title.Ok"));
         mb.open();
       }
-      ;
     } catch (Exception e) {
       new ErrorDialog(hopGui.getShell(), "Error", "Error connecting mail server:", e);
     }