diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-03-07 12:02:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-03-07 14:09:04 +0100 |
commit | 29e89925093f2c143fab675310b2533ed720a9ae (patch) | |
tree | 28d352fa139f726bdbe34b6ae4f076c9cea28e6d /sfx2 | |
parent | 5d710cf7dda27e78f237211fd92418be4dd1c551 (diff) |
Resolves: tdf#116116 vertically center line in allocated height
Change-Id: Iee4cd859cdc52a2272f5b01c3e4a57336cc336a4
Reviewed-on: https://gerrit.libreoffice.org/50881
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |