sfx2/source/dialog/infobar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4d60d96a22ef2f67db7c7e99981447bd81f776c4 Author: Heiko Tietze <tietze.he...@gmail.com> Date: Tue Aug 22 12:39:49 2017 +0200 tdf#111844 infobar icons/text on high dpi scaling factor added to text position Change-Id: Iaeb48fd4ac0439680fa3b6ca43f23a617efe1457 Reviewed-on: https://gerrit.libreoffice.org/41417 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.he...@googlemail.com> diff --git a/sfx2/source/dialog/infobar.cxx b/sfx2/source/dialog/infobar.cxx index a7db83925b74..e51a24520d96 100644 --- a/sfx2/source/dialog/infobar.cxx +++ b/sfx2/source/dialog/infobar.cxx @@ -291,7 +291,7 @@ void SfxInfoBarWindow::Resize() m_pImage->SetPosSizePixel(Point(4,4), Size(32* fScaleFactor, 32* fScaleFactor)); - Point aMessagePosition(32 + 10 * fScaleFactor, 10 * fScaleFactor); + Point aMessagePosition(32 * fScaleFactor + 10 * fScaleFactor, 10 * fScaleFactor); Size aMessageSize(nX - 20 * fScaleFactor, 20 * fScaleFactor); m_pMessage->SetPosSizePixel(aMessagePosition, aMessageSize); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits