cui/source/tabpages/border.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4235b69dad089432911bb576d7e9412e55843ec6 Author: Caolán McNamara <[email protected]> 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 <[email protected]> Reviewed-by: Adolfo Jayme Barrientos <[email protected]> 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());
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
