diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-17 11:39:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-20 15:21:02 +0200 |
commit | b88053ffeed1f9fb2dda8b3bffe6353d67312e5d (patch) | |
tree | b62974165389c6f32cc7e57e03d74ff3175644fb | |
parent | eb20fd85ddd25026a1b814d75fac6b5aa4ec0ef7 (diff) |
Resolves: tdf#119325 tooltip position should be relative to widget
Change-Id: I244f2d6cd89fd53d7a874cac593f3759d75966da
Reviewed-on: https://gerrit.libreoffice.org/59257
Tested-by: Jenkins
Tested-by: Xisco Faulí <xiscofauli@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | include/vcl/layout.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index 4d9702d04c38..d33a942c8717 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -675,7 +675,7 @@ private: { if (rHelpEvent.GetMode() & (HelpEventMode::QUICK | HelpEventMode::BALLOON)) { - Point aPos(rHelpEvent.GetMousePosPixel()); + Point aPos(ScreenToOutputPixel(rHelpEvent.GetMousePosPixel())); tools::Rectangle aHelpArea(aPos.X(), aPos.Y()); OUString sHelpTip = m_aQueryTooltipHdl.Call(aHelpArea); if (sHelpTip.isEmpty()) |