[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Mon Feb 1 19:50:17 UTC 2021


 vcl/unx/gtk3/gtk3gtkinst.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit d2fe1369ca92f3978a5203498d1ad2898c6a09e8
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Feb 1 16:31:46 2021 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Feb 1 20:49:36 2021 +0100

    this needs to be 'trough' a long, narrow open container, not through
    
    Change-Id: I61d199887c7f0adf98219d8f27508235529ba492
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110260
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index 12dc1b224ebf..cfd8eacabff4 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -6035,8 +6035,9 @@ public:
         }
 
         m_pScrollBarCssProvider = gtk_css_provider_new();
-        OUString aBuffer = "scrollbar contents through { background-color: #" + rBackgroundColor.AsRGBHexString() + "; } "
-                           "scrollbar contents through slider { background-color: #" + rShadowColor.AsRGBHexString() + "; } "
+        // intentionally 'trough' a long, narrow open container.
+        OUString aBuffer = "scrollbar contents trough { background-color: #" + rBackgroundColor.AsRGBHexString() + "; } "
+                           "scrollbar contents trough slider { background-color: #" + rShadowColor.AsRGBHexString() + "; } "
                            "scrollbar contents button { background-color: #" + rFaceColor.AsRGBHexString() + "; } "
                            "scrollbar contents button { color: #000000; } "
                            "scrollbar contents button:disabled { color: #7f7f7f; }";


More information about the Libreoffice-commits mailing list