summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-20 16:52:11 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-01-08 11:37:29 +0100
commita1f3bcc6312a599996fee9825703394fe5b3a20a (patch)
tree5a1f62d173b62beaf1a828a1de63319df13b3c34 /sc
parent55f3a2d1d44751be38d6e374cc2291f97cae63a2 (diff)
Resolves: tdf#114695 limit width of this combo
Change-Id: I3bcb880d05b9b2b6a7faf7b3646b169f3b11a46b Reviewed-on: https://gerrit.libreoffice.org/65509 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/pagedlg/scuitphfedit.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx
index 46d94e7d751d..f1c9d194da63 100644
--- a/sc/source/ui/pagedlg/scuitphfedit.cxx
+++ b/sc/source/ui/pagedlg/scuitphfedit.cxx
@@ -64,6 +64,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");