diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-12-20 16:52:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-12-20 22:13:16 +0100 |
commit | ebcb1fa80654849792bc3c296f61090138f99e20 (patch) | |
tree | dc7f76cc2f03d48c5769ccfe206b310b8a1b4c98 /sc | |
parent | ec61f9c97f13236cbcead7ce2d75e0122abe7969 (diff) |
Resolves: tdf#114695 limit width of this combo
Change-Id: I3bcb880d05b9b2b6a7faf7b3646b169f3b11a46b
Reviewed-on: https://gerrit.libreoffice.org/65507
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/pagedlg/scuitphfedit.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx index ca903eace0c0..aa3cc68a0205 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -67,6 +67,10 @@ ScHFEditPage::ScHFEditPage( vcl::Window* pParent, m_pWndRight->SetLocation(Right); get(m_pLbDefined,"comboLB_DEFINED"); + // tdf#114695 override natural size with a small value + // we expect this to get stretched to some larger but + // limited size based on surrounding widgets + m_pLbDefined->set_width_request(m_pLbDefined->approximate_digit_width() * 20); get(m_pBtnText,"buttonBTN_TEXT"); get(m_pBtnTable,"buttonBTN_TABLE"); |