[Libreoffice-commits] core.git: sfx2/source
Caolán McNamara
caolanm at redhat.com
Wed Mar 7 13:09:27 UTC 2018
sfx2/source/dialog/dinfdlg.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 29e89925093f2c143fab675310b2533ed720a9ae
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Mar 7 12:02:28 2018 +0000
Resolves: tdf#116116 vertically center line in allocated height
Change-Id: Iee4cd859cdc52a2272f5b01c3e4a57336cc336a4
Reviewed-on: https://gerrit.libreoffice.org/50881
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index a30de99a727b..d2e4bc8bf71a 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1750,6 +1750,7 @@ void CustomPropertiesWindow::CreateNewLine()
pNewLine->m_aValueEdit->SetAccessibleName(m_pHeaderAccValue->GetText());
sal_Int32 nPos = GetExistingLineCount() * GetLineHeight();
+ nPos += LogicToPixel(Size(0, 2), MapMode(MapUnit::MapAppFont)).Height();
m_aCustomPropertiesLines.push_back( pNewLine );
SetWidgetWidths(pNewLine);
More information about the Libreoffice-commits
mailing list