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 9c08425636 Fix vertical alignment of separator row in Text File Input 
dialog (#7218)
9c08425636 is described below

commit 9c08425636354e3b7554d6ee67bbdd833dc194a1
Author: Lance <[email protected]>
AuthorDate: Mon Jun 15 18:43:25 2026 +0800

    Fix vertical alignment of separator row in Text File Input dialog (#7218)
    
    Signed-off-by: lance <[email protected]>
---
 .../hop/pipeline/transforms/fileinput/text/TextFileInputDialog.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/plugins/transforms/textfile/src/main/java/org/apache/hop/pipeline/transforms/fileinput/text/TextFileInputDialog.java
 
b/plugins/transforms/textfile/src/main/java/org/apache/hop/pipeline/transforms/fileinput/text/TextFileInputDialog.java
index 25dae69ee1..cfaae494d7 100644
--- 
a/plugins/transforms/textfile/src/main/java/org/apache/hop/pipeline/transforms/fileinput/text/TextFileInputDialog.java
+++ 
b/plugins/transforms/textfile/src/main/java/org/apache/hop/pipeline/transforms/fileinput/text/TextFileInputDialog.java
@@ -917,13 +917,13 @@ public class TextFileInputDialog extends 
BaseTransformDialog
     PropsUi.setLook(wbSeparator);
     FormData fdbSeparator = new FormData();
     fdbSeparator.right = new FormAttachment(100, 0);
-    fdbSeparator.top = new FormAttachment(wFiletype, 0);
+    fdbSeparator.top = new FormAttachment(wlSeparator, 0, SWT.CENTER);
     wbSeparator.setLayoutData(fdbSeparator);
     wSeparator = new TextVar(variables, wContentComp, SWT.SINGLE | SWT.LEFT | 
SWT.BORDER);
     PropsUi.setLook(wSeparator);
     wSeparator.addModifyListener(lsMod);
     FormData fdSeparator = new FormData();
-    fdSeparator.top = new FormAttachment(wFiletype, margin);
+    fdSeparator.top = new FormAttachment(wlSeparator, 0, SWT.CENTER);
     fdSeparator.left = new FormAttachment(middle, 0);
     fdSeparator.right = new FormAttachment(wbSeparator, -margin);
     wSeparator.setLayoutData(fdSeparator);

Reply via email to