This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new 0c46b935f7 Remove background bright orange from Pipeline execution
result panel #2477 Add Border to the workflow graph like the pipeline graph.
new 002ed6925e Merge pull request #2478 from nadment/2477
0c46b935f7 is described below
commit 0c46b935f74c5d30667ca7e6c97679657f1897b0
Author: Nicolas Adment <[email protected]>
AuthorDate: Sat Feb 25 19:00:42 2023 +0100
Remove background bright orange from Pipeline execution result
panel #2477
Add Border to the workflow graph like the pipeline graph.
---
.../org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java | 3 +--
.../org/apache/hop/ui/hopgui/file/workflow/HopGuiWorkflowGraph.java | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
index dfabe18d6b..89f13f17a8 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/pipeline/HopGuiPipelineGraph.java
@@ -472,8 +472,7 @@ public class HopGuiPipelineGraph extends HopGuiAbstractGraph
// The main composite contains the graph view, but if needed also
// a view with an extra tab containing log, etc.
//
- Composite mainComposite = new Composite(this, SWT.NONE);
- mainComposite.setBackground(GuiResource.getInstance().getColorOrange());
+ Composite mainComposite = new Composite(this, SWT.NONE);
mainComposite.setLayout(new FormLayout());
FormData fdMainComposite = new FormData();
fdMainComposite.left = new FormAttachment(0, 0);
diff --git
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/HopGuiWorkflowGraph.java
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/HopGuiWorkflowGraph.java
index bad4d8cd29..866e6898c7 100644
---
a/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/HopGuiWorkflowGraph.java
+++
b/ui/src/main/java/org/apache/hop/ui/hopgui/file/workflow/HopGuiWorkflowGraph.java
@@ -398,7 +398,7 @@ public class HopGuiWorkflowGraph extends HopGuiAbstractGraph
// Add a canvas below it, use up all space
//
- canvas = new Canvas(sashForm, SWT.NO_BACKGROUND);
+ canvas = new Canvas(sashForm, SWT.NO_BACKGROUND | SWT.BORDER);
Listener listener = CanvasListener.getInstance();
canvas.addListener(SWT.MouseDown, listener);
canvas.addListener(SWT.MouseMove, listener);