[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - cui/source

Caolán McNamara caolanm at redhat.com
Sat Oct 1 04:04:16 UTC 2016


 cui/source/tabpages/border.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4235b69dad089432911bb576d7e9412e55843ec6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Sep 28 08:53:44 2016 +0100

    Resolves: tdf#101475 adjacent cells text is still too wide
    
    Change-Id: I8fae7197b191de4346a4fb0f2226c63bc615b29d
    Reviewed-on: https://gerrit.libreoffice.org/29346
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 10e0302..d252831 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -140,7 +140,7 @@ SvxBorderTabPage::SvxBorderTabPage(vcl::Window* pParent, const SfxItemSet& rCore
     //tdf#99963, we need height-for-width support here, but for now we can
     //bodge it
     Size aPrefSize(m_pRemoveAdjcentCellBordersCB->get_preferred_size());
-    Size aSize(m_pRemoveAdjcentCellBordersCB->CalcMinimumSize(36*approximate_char_width()));
+    Size aSize(m_pRemoveAdjcentCellBordersCB->CalcMinimumSize(20*approximate_char_width()));
     if (aPrefSize.Width() > aSize.Width())
     {
         m_pRemoveAdjcentCellBordersCB->set_width_request(aSize.Width());


More information about the Libreoffice-commits mailing list