summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheiko tietze <tietze.heiko@gmail.com>2017-08-21 21:13:22 +0200
committerHeiko Tietze <tietze.heiko@googlemail.com>2017-08-21 22:14:38 +0200
commit4438849e400ecef3cdf2f267dc75a76d4b11aba1 (patch)
treed9f6ccad1341947d313106ea56e6345d894ee7fb
parent128282219cab1e94f092276067a40ee5a34b59ff (diff)
tdf#111844 infobar icons on high dpi
scaling factor added Change-Id: Iccfc76832ccfaaffb9950d4b591b379dfb0d9eca Reviewed-on: https://gerrit.libreoffice.org/41401 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com>
-rw-r--r--sfx2/source/dialog/infobar.cxx2
1 files changed, 1 insertions, 1 deletions
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);