diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-09-28 08:53:44 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2016-10-01 04:02:25 +0000 |
commit | 4235b69dad089432911bb576d7e9412e55843ec6 (patch) | |
tree | bfe564e099a428f34b258ef35ae8c3c7bfa43532 /cui | |
parent | 390cc253e2e54d8df61bd21e01ff6a9decb69cc7 (diff) |
Resolves: tdf#101475 adjacent cells text is still too wide
Change-Id: I8fae7197b191de4346a4fb0f2226c63bc615b29d
Reviewed-on: https://gerrit.libreoffice.org/29346
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/border.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx index 10e030249647..d25283196363 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()); |