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 72ba3aa023 Table Input Preview Modal is too wide, fixes  #7437 (#7438)
72ba3aa023 is described below

commit 72ba3aa023b7b7c50035f5c7b02ada64c3c5c3f2
Author: Hans Van Akelyen <[email protected]>
AuthorDate: Mon Jul 6 16:01:36 2026 +0200

    Table Input Preview Modal is too wide, fixes  #7437 (#7438)
---
 .../apache/hop/ui/core/database/dialog/PreviewTableSettingsDialog.java | 3 ++-
 .../hop/ui/core/database/dialog/messages/messages_en_US.properties     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/ui/src/main/java/org/apache/hop/ui/core/database/dialog/PreviewTableSettingsDialog.java
 
b/ui/src/main/java/org/apache/hop/ui/core/database/dialog/PreviewTableSettingsDialog.java
index 9ff9f9e532..36656dda6a 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/core/database/dialog/PreviewTableSettingsDialog.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/core/database/dialog/PreviewTableSettingsDialog.java
@@ -112,7 +112,8 @@ public class PreviewTableSettingsDialog extends Dialog {
     previewExecutionVariables = null;
     int initialQueryTimeoutSeconds = defaultTimeoutFieldSeconds(hopVariables);
 
-    shell = new Shell(parentShell, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | 
SWT.SHEET);
+    shell =
+        new Shell(parentShell, SWT.DIALOG_TRIM | SWT.RESIZE | 
SWT.APPLICATION_MODAL | SWT.SHEET);
     PropsUi.setLook(shell);
     shell.setImage(GuiResource.getInstance().getImageHopUi());
     shell.setText(BaseMessages.getString(PKG, 
"PreviewTableSettingsDialog.Title"));
diff --git 
a/ui/src/main/resources/org/apache/hop/ui/core/database/dialog/messages/messages_en_US.properties
 
b/ui/src/main/resources/org/apache/hop/ui/core/database/dialog/messages/messages_en_US.properties
index f30c00d7bc..96276a6433 100644
--- 
a/ui/src/main/resources/org/apache/hop/ui/core/database/dialog/messages/messages_en_US.properties
+++ 
b/ui/src/main/resources/org/apache/hop/ui/core/database/dialog/messages/messages_en_US.properties
@@ -36,7 +36,7 @@ PreviewTableSettingsDialog.Error.InvalidNumber=Enter valid 
whole numbers for row
 PreviewTableSettingsDialog.Error.Title=Invalid input
 PreviewTableSettingsDialog.Rows.Hint=0 means no row limit on the query (fetch 
all rows).
 PreviewTableSettingsDialog.Rows.Label=Number of rows to preview
-PreviewTableSettingsDialog.Timeout.Hint=0 means no JDBC statement timeout 
(driver default). Otherwise the server should abort the query after this many 
seconds. Optional default for this field: variable HOP_QUERY_PREVIEW_TIMEOUT 
(see Variables documentation).
+PreviewTableSettingsDialog.Timeout.Hint=0 means no JDBC statement timeout 
(driver default). \nOtherwise the server should abort the query after this many 
seconds. \nOptional default for this field: variable HOP_QUERY_PREVIEW_TIMEOUT 
(see Variables documentation).
 PreviewTableSettingsDialog.Timeout.Label=Query timeout (seconds)
 PreviewTableSettingsDialog.Title=Table preview
 DatabaseExplorerDialog.Schemas.Label=Schemas

Reply via email to