diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-29 13:13:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-01 15:55:55 +0200 |
commit | f82356d9a1ce1457593a5f42728e2962561328cf (patch) | |
tree | ddac3224cc714d92cf80b5b285277c6a0a0e5e08 /sw | |
parent | d822953cbc1d8814ac9f9eac2107177d37103542 (diff) |
weld ScPivotLayoutDialog
Change-Id: I821ee682bf5b65774a609227811365b94ae2063e
Reviewed-on: https://gerrit.libreoffice.org/71547
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/fldfunc.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx index 2ccb8864d1e3..7db5912ef02d 100644 --- a/sw/source/ui/fldui/fldfunc.cxx +++ b/sw/source/ui/fldui/fldfunc.cxx @@ -70,7 +70,8 @@ SwFieldFuncPage::SwFieldFuncPage(TabPageParent pParent, const SfxItemSet *const { FillFieldSelect(*m_xSelectionLB); FillFieldSelect(*m_xFormatLB); - m_xListItemsLB->set_size_request(m_xListItemED->get_preferred_size().Width(), -1); + m_xListItemsLB->set_size_request(m_xListItemED->get_preferred_size().Width(), + m_xListItemsLB->get_height_rows(5)); auto nWidth = m_xTypeLB->get_approximate_digit_width() * FIELD_COLUMN_WIDTH / 8; auto nHeight = m_xTypeLB->get_height_rows(20); |