[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Jan 14 15:37:34 UTC 2021


 sc/source/ui/dbgui/sortkeydlg.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1052c9c8bb763866ba6b2cb9b86063f22d6fb9ee
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jan 14 11:30:05 2021 +0000
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Thu Jan 14 16:37:01 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/+/109277
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

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()


More information about the Libreoffice-commits mailing list