[Libreoffice-commits] core.git: sfx2/source

heiko tietze tietze.heiko at gmail.com
Mon Aug 21 20:17:11 UTC 2017


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

New commits:
commit 4438849e400ecef3cdf2f267dc75a76d4b11aba1
Author: heiko tietze <tietze.heiko at 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 <ci at libreoffice.org>
    Reviewed-by: Heiko Tietze <tietze.heiko at 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);


More information about the Libreoffice-commits mailing list