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 adf737724b Change the search dialog box icon #7417 (#7418)
adf737724b is described below

commit adf737724b3a26faa4b9d9c88c54cebb1afa3e47
Author: Nicolas Adment <[email protected]>
AuthorDate: Fri Jul 3 09:14:40 2026 +0200

    Change the search dialog box icon #7417 (#7418)
    
    * Change the search dialog box icon #7417
    A minor change to the layout.
    
    * spotless
    
    ---------
    
    Co-authored-by: Hans Van Akelyen <[email protected]>
---
 .../pipeline/transforms/valuemapper/ValueMapperDialog.java   |  6 ++----
 .../apache/hop/ui/hopgui/search/SearchEverywhereDialog.java  | 12 ++++++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git 
a/plugins/transforms/valuemapper/src/main/java/org/apache/hop/pipeline/transforms/valuemapper/ValueMapperDialog.java
 
b/plugins/transforms/valuemapper/src/main/java/org/apache/hop/pipeline/transforms/valuemapper/ValueMapperDialog.java
index b4132beb12..a08d3e0cdd 100644
--- 
a/plugins/transforms/valuemapper/src/main/java/org/apache/hop/pipeline/transforms/valuemapper/ValueMapperDialog.java
+++ 
b/plugins/transforms/valuemapper/src/main/java/org/apache/hop/pipeline/transforms/valuemapper/ValueMapperDialog.java
@@ -173,12 +173,10 @@ public class ValueMapperDialog extends 
BaseTransformDialog {
     fdNonMatchDefault.right = new FormAttachment(100, 0);
     wNonMatchDefault.setLayoutData(fdNonMatchDefault);
 
-    // Type of value
-    /*
-     * Type of Value: String, Number, Date, Boolean, Integer
-     */
+    // Type of Value: String, Number, Date, Boolean, Integer
     Label wlValueType = new Label(shell, SWT.RIGHT);
     wlValueType.setText(BaseMessages.getString(PKG, 
"ValueMapperDialog.TargetType.Label"));
+    PropsUi.setLook(wlValueType);
     FormData fdlValueType = new FormData();
     fdlValueType.left = new FormAttachment(0, 0);
     fdlValueType.right = new FormAttachment(middle, -margin);
diff --git 
a/ui/src/main/java/org/apache/hop/ui/hopgui/search/SearchEverywhereDialog.java 
b/ui/src/main/java/org/apache/hop/ui/hopgui/search/SearchEverywhereDialog.java
index 1f17de57c6..efce59d17f 100644
--- 
a/ui/src/main/java/org/apache/hop/ui/hopgui/search/SearchEverywhereDialog.java
+++ 
b/ui/src/main/java/org/apache/hop/ui/hopgui/search/SearchEverywhereDialog.java
@@ -60,7 +60,7 @@ import org.eclipse.swt.widgets.TreeColumn;
 import org.eclipse.swt.widgets.TreeItem;
 
 /**
- * IntelliJ-style "Search Everywhere" popup. It runs the same 
searchable-analyser pipeline as the
+ * IntelliJ-style "Search Everywhere" popup. It runs the same 
searchable-analyzer pipeline as the
  * {@link HopGuiSearchResultsPanel} (across all available locations) plus the 
global GUI commands,
  * and renders the results as a single grouped, keyboard-navigable list. 
Selecting a result opens it
  * through its regular {@link org.apache.hop.core.search.ISearchableCallback}. 
"Show all" hands the
@@ -122,7 +122,7 @@ public class SearchEverywhereDialog {
 
     shell = new Shell(parent, SWT.DIALOG_TRIM | SWT.RESIZE);
     shell.setText(BaseMessages.getString(PKG, 
"SearchEverywhereDialog.Shell.Title"));
-    shell.setImage(GuiResource.getInstance().getImageHop());
+    shell.setImage(GuiResource.getInstance().getImageSearch());
     PropsUi.setLook(shell);
     FormLayout formLayout = new FormLayout();
     formLayout.marginWidth = PropsUi.getMargin();
@@ -134,7 +134,10 @@ public class SearchEverywhereDialog {
     // --- Search bar: text field + case / regex toggles ---
     Composite searchBar = new Composite(shell, SWT.NONE);
     PropsUi.setLook(searchBar);
-    searchBar.setLayout(new GridLayout(3, false));
+    GridLayout gridLayout = new GridLayout(3, false);
+    gridLayout.marginWidth = 0;
+    gridLayout.horizontalSpacing = margin;
+    searchBar.setLayout(gridLayout);
     FormData fdSearchBar = new FormData();
     fdSearchBar.top = new FormAttachment(0, 0);
     fdSearchBar.left = new FormAttachment(0, 0);
@@ -172,7 +175,8 @@ public class SearchEverywhereDialog {
     wShowAll.addListener(SWT.Selection, e -> openShowAll());
 
     // --- The grouped result tree (two user-resizable columns + horizontal 
scroll) ---
-    wTree = new Tree(shell, SWT.SINGLE | SWT.FULL_SELECTION | SWT.V_SCROLL | 
SWT.H_SCROLL);
+    wTree =
+        new Tree(shell, SWT.SINGLE | SWT.BORDER | SWT.FULL_SELECTION | 
SWT.V_SCROLL | SWT.H_SCROLL);
     PropsUi.setLook(wTree);
     wTree.setHeaderVisible(true);
     nameColumn = new TreeColumn(wTree, SWT.LEFT);

Reply via email to