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 bf55d361d8 Fix #2018: Add tweak for Windows dark theme
     new 388ca296b1 Merge pull request #2019 from nadment/master
bf55d361d8 is described below

commit bf55d361d8e6faf8eb37c8f99c1a096bf955e8f8
Author: Nicolas Adment <[email protected]>
AuthorDate: Wed Dec 7 21:57:25 2022 +0100

    Fix #2018: Add tweak for Windows dark theme
---
 ui/src/main/java/org/apache/hop/ui/core/PropsUi.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java 
b/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
index e7caf02b5e..417f7c73a7 100644
--- a/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
+++ b/ui/src/main/java/org/apache/hop/ui/core/PropsUi.java
@@ -158,6 +158,7 @@ public class PropsUi extends Props {
     //
     if (OsHelper.isWindows() && isDarkMode()) {
       
display.setData("org.eclipse.swt.internal.win32.useDarkModeExplorerTheme", 
Boolean.TRUE);
+      display.setData("org.eclipse.swt.internal.win32.useShellTitleColoring", 
Boolean.TRUE);
       display.setData(
           "org.eclipse.swt.internal.win32.menuBarForegroundColor",
           new Color(display, 0xD0, 0xD0, 0xD0));

Reply via email to