[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jan 15 12:55:22 UTC 2021
sc/source/ui/dbgui/sortkeydlg.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b8cf344577437338e05c0d84dff78927817558c1
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jan 14 11:30:05 2021 +0000
Commit: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Fri Jan 15 13:54:47 2021 +0100
tdf#136155 let the other elements in the dialog determine the final width
Change-Id: Ib47db4f47a331b1f3754ca4974a9f3e5b14efc95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109278
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
diff --git a/sc/source/ui/dbgui/sortkeydlg.cxx b/sc/source/ui/dbgui/sortkeydlg.cxx
index db218cf8678f..6416cb83662d 100644
--- a/sc/source/ui/dbgui/sortkeydlg.cxx
+++ b/sc/source/ui/dbgui/sortkeydlg.cxx
@@ -18,6 +18,9 @@ ScSortKeyItem::ScSortKeyItem(weld::Container* pParent)
, m_xBtnUp(m_xBuilder->weld_radio_button("up"))
, m_xBtnDown(m_xBuilder->weld_radio_button("down"))
{
+ // 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);
}
void ScSortKeyItem::DisableField()
More information about the Libreoffice-commits
mailing list