diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-01-30 16:32:01 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-02-05 10:33:25 +0100 |
commit | 792cb451d1d9b2dd6a55744f6fcc36d31c6762de (patch) | |
tree | a62f9ac7fb9b50fe7c804c2326b9762ea5b7d34c /include | |
parent | 089354cd5a85c458e55f63d398ff61f4925fe467 (diff) |
tdf#115941 use max of scrollbar and statusbar height for record locater
Change-Id: I639fd1c593e7cc440de5d2038562e64eab1a5af6
Reviewed-on: https://gerrit.libreoffice.org/67167
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/brwbox.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index ba09a67050b0..5ccf848e13ce 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -21,6 +21,7 @@ #include <svtools/svtdllapi.h> #include <vcl/scrbar.hxx> +#include <vcl/status.hxx> #include <vcl/ctrl.hxx> #include <vcl/vclptr.hxx> #include <tools/multisel.hxx> @@ -201,6 +202,7 @@ private: VclPtr<BrowserDataWin> pDataWin; // window to display data rows VclPtr<ScrollBar> pVScroll; // vertical scrollbar VclPtr<ScrollBar> aHScroll; // horizontal scrollbar + VclPtr<StatusBar> aStatusBar; // statusbar, just to measure its height long nDataRowHeight; // height of a single data-row sal_uInt16 nTitleLines; // number of lines in title row @@ -296,7 +298,9 @@ private: DECL_DLLPRIVATE_LINK( EndScrollHdl, ScrollBar*, void ); DECL_DLLPRIVATE_LINK( StartDragHdl, HeaderBar*, void ); - SVT_DLLPRIVATE long GetFrozenWidth() const; + SVT_DLLPRIVATE long GetFrozenWidth() const; + + SVT_DLLPRIVATE long GetBarHeight() const; bool GoToRow(long nRow, bool bRowColMove, bool bDoNotModifySelection = false ); |