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 831051db6a Fix top margin for Set Fields button in SSTable Output
component (#6484)
831051db6a is described below
commit 831051db6a7dd416664158d478a2bd60d31eed31
Author: lance <[email protected]>
AuthorDate: Mon Feb 2 20:41:04 2026 +0800
Fix top margin for Set Fields button in SSTable Output component (#6484)
Signed-off-by: lance <[email protected]>
---
.../transforms/cassandrasstableoutput/SSTableOutputDialog.java | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/plugins/tech/cassandra/src/main/java/org/apache/hop/pipeline/transforms/cassandrasstableoutput/SSTableOutputDialog.java
b/plugins/tech/cassandra/src/main/java/org/apache/hop/pipeline/transforms/cassandrasstableoutput/SSTableOutputDialog.java
index 8a072ceb50..b66bafad2a 100644
---
a/plugins/tech/cassandra/src/main/java/org/apache/hop/pipeline/transforms/cassandrasstableoutput/SSTableOutputDialog.java
+++
b/plugins/tech/cassandra/src/main/java/org/apache/hop/pipeline/transforms/cassandrasstableoutput/SSTableOutputDialog.java
@@ -24,6 +24,7 @@ import org.apache.hop.core.variables.IVariables;
import org.apache.hop.i18n.BaseMessages;
import org.apache.hop.pipeline.PipelineMeta;
import org.apache.hop.pipeline.transform.TransformMeta;
+import org.apache.hop.ui.core.FormDataBuilder;
import org.apache.hop.ui.core.PropsUi;
import org.apache.hop.ui.core.dialog.BaseDialog;
import org.apache.hop.ui.core.dialog.EnterSelectionDialog;
@@ -241,11 +242,7 @@ public class SSTableOutputDialog extends
BaseTransformDialog {
wbGetFields = new Button(shell, SWT.PUSH | SWT.CENTER);
PropsUi.setLook(wbGetFields);
wbGetFields.setText(BaseMessages.getString(PKG,
"SSTableOutputDialog.GetFields.Button"));
-
- fd = new FormData();
- fd.right = new FormAttachment(100, 0);
- fd.top = new FormAttachment(wTable, 0);
- wbGetFields.setLayoutData(fd);
+ wbGetFields.setLayoutData(FormDataBuilder.builder().top(wTable,
margin).right(100, 0).build());
wbGetFields.addSelectionListener(
new SelectionAdapter() {