summaryrefslogtreecommitdiffstats
path: root/include/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-01-30 16:32:01 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-01-31 09:52:06 +0100
commit50547d359ff5229da1108b097612412bb06a3000 (patch)
treec514be5d8649410f65fa0c1784edb379569abaa0 /include/svtools
parentuitest for classification dialog (diff)
downloadcore-50547d359ff5229da1108b097612412bb06a3000.tar.gz
core-50547d359ff5229da1108b097612412bb06a3000.zip
tdf#115941 use max of scrollbar and statusbar height for record locater
Change-Id: I639fd1c593e7cc440de5d2038562e64eab1a5af6 Reviewed-on: https://gerrit.libreoffice.org/67164 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r--include/svtools/brwbox.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx
index cba45688835d..fbff8176572e 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>
@@ -195,6 +196,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
@@ -289,7 +291,9 @@ private:
DECL_DLLPRIVATE_LINK( ScrollHdl, 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 );