summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-02-01 16:31:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-02-01 20:49:36 +0100
commitd2fe1369ca92f3978a5203498d1ad2898c6a09e8 (patch)
tree68dbfffb0ee9387dc5230fe2322ff24164fedf34 /vcl
parentbc04a3c85afaf290958ae63ff374ff1d3f07bb66 (diff)
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@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtk3gtkinst.cxx5
1 files changed, 3 insertions, 2 deletions
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; }";