summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-04-03 22:11:41 +0900
committerTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-04-04 22:21:41 +0900
commit3a2cfc646afe5e2b8a1ff0bdb215897931268ba6 (patch)
tree05e8c80ab38b6008ef799e8893b47092bf2a509e /include/vcl
parentcf43b676044773414fd35172e5e98422a555ede5 (diff)
tdf#124155 fix slider to not go beyond rect bounds
We need to ask the NWF for the size of the thumb and not just use the hard-coded value. Reviewed-on: https://gerrit.libreoffice.org/70201 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 9956cf0692058414ef3efdb0e8058fbb0b39f6bc) Change-Id: I98c6b5782c6a043fc358198ddf844d36d7aa90d6
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/slider.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx
index 426727c15ae7..ab7c035e52cc 100644
--- a/include/vcl/slider.hxx
+++ b/include/vcl/slider.hxx
@@ -36,6 +36,7 @@ private:
long mnThumbPixOffset;
long mnThumbPixRange;
long mnThumbPixPos;
+ long mnThumbSize;
long mnChannelPixOffset;
long mnChannelPixRange;
long mnChannelPixTop;