diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-01-14 11:30:05 +0000 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-01-15 13:55:15 +0100 |
commit | 3bb8ed02c2832b066d42507567dfb0d3136d5939 (patch) | |
tree | ecc3da612aafce13a8010872f136b42f769daaa5 /sc/source/ui/dbgui | |
parent | 32e104c1d6be0ffe6ed6c4e08af868c87b3c258c (diff) |
tdf#136155 let the other elements in the dialog determine the final width
Change-Id: Ib47db4f47a331b1f3754ca4974a9f3e5b14efc95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109292
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/sortkeydlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx index ec81bda34fc1..a5cf6e8f4e66 100644 --- a/sc/source/ui/dbgui/sortkeydlg.cxx +++ b/sc/source/ui/dbgui/sortkeydlg.cxx @@ -19,6 +19,9 @@ ScSortKeyItem::ScSortKeyItem(weld::Container* pParent) , m_xBtnDown(m_xBuilder->weld_radio_button("down")) , m_pParent(pParent) { + // tdf#136155 let the other elements in the dialog determine the width of the + // combobox + m_xLbSort->set_size_request(m_xLbSort->get_approximate_digit_width() * 12, -1); } ScSortKeyItem::~ScSortKeyItem() |