diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-19 10:13:15 +0000 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-25 12:12:24 +0200 |
commit | 89c79e462fd91912613c6710da8702e50281bf13 (patch) | |
tree | 41a087195b58e0bbbae20e22c9a03c8d2ad13997 /sfx2 | |
parent | 985e2f7ce55badba09bae0187476a523f6d2527d (diff) |
rename get_vscroll_width to get_scroll_thickness
and add split customize_scrollbars to form a separate set_scroll_thickness
Change-Id: Ia4b1c85d6ae85b0fb7aeb852d3a91b36b63143db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111207
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index ad813a172432..17b2821b807a 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -361,7 +361,7 @@ void ThumbnailView::CalculateItemPositions(bool bScrollBarUsed) nScrollRatio = 0; // calculate ScrollBar width - tools::Long nScrBarWidth = mbAllowVScrollBar ? mxScrolledWindow->get_vscroll_width() : 0; + tools::Long nScrBarWidth = mbAllowVScrollBar ? mxScrolledWindow->get_scroll_thickness() : 0; // calculate maximum number of visible columns mnCols = static_cast<sal_uInt16>((aWinSize.Width()-nScrBarWidth) / mnItemWidth); |