sfx2/source/dialog/infobar.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4438849e400ecef3cdf2f267dc75a76d4b11aba1
Author: heiko tietze <tietze.he...@gmail.com>
Date:   Mon Aug 21 21:13:22 2017 +0200

    tdf#111844 infobar icons on high dpi
    
    scaling factor added
    
    Change-Id: Iccfc76832ccfaaffb9950d4b591b379dfb0d9eca
    Reviewed-on: https://gerrit.libreoffice.org/41401
    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 ec6814edce9c..a7db83925b74 100644
--- a/sfx2/source/dialog/infobar.cxx
+++ b/sfx2/source/dialog/infobar.cxx
@@ -289,7 +289,7 @@ void SfxInfoBarWindow::Resize()
         nX -= nButtonGap;
     }
 
-    m_pImage->SetPosSizePixel(Point(4,4), Size(32, 32));
+    m_pImage->SetPosSizePixel(Point(4,4), Size(32* fScaleFactor, 32* 
fScaleFactor));
 
     Point aMessagePosition(32 + 10 * fScaleFactor, 10 * fScaleFactor);
     Size aMessageSize(nX - 20 * fScaleFactor, 20 * fScaleFactor);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to