From 8296a2fec903038f63321682158431e0c6a624ba Mon Sep 17 00:00:00 2001 From: mappu Date: Thu, 18 Jul 2024 17:51:27 +1200 Subject: [PATCH] gui: hardcode better windows colours --- util_vcl.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/util_vcl.go b/util_vcl.go index ba5c562..9861ca7 100644 --- a/util_vcl.go +++ b/util_vcl.go @@ -59,7 +59,11 @@ func vcl_default_tab_background() types.TColor { if runtime.GOOS == "windows" { // Assuming that uxtheme is loaded // @ref https://stackoverflow.com/a/20332712 - return colors.ClBtnHighlight + // return colors.ClBtnHighlight + + // None of the colors.** constants seem to be quite right on a test + // Windows 11 machine - should be #f9f9f9 + return 0x00f9f9f9 } else { return colors.ClBtnFace // 0x00f0f0f0 }