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:31 +0100 |
commit | 2923760cb8da0d6106e12bcb3d0ab1cc970d41ce (patch) | |
tree | 09455a648d4804053b977108803a4586dc20a6ed /sc | |
parent | 63ec2e8d07dff652a68c9dc96859c4c61f26b9df (diff) |
Resolves: tdf#114695 limit width of this combo
Change-Id: I3bcb880d05b9b2b6a7faf7b3646b169f3b11a46b
Reviewed-on: https://gerrit.libreoffice.org/65508
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 36cbaf11f1b5..a851b3086ffe 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -66,6 +66,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"); |