summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-25 12:11:41 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-10-27 18:10:26 +0200
commit8b6f1d8460b931950b98b5968ff7734f3c128a4d (patch)
tree0d383a7363a12ebb38e7044798be0f6bce6879d9 /sfx2/source
parent8b09fbc6db3527e0de0af37e9efa43eda377fa05 (diff)
tdf#120188 limit the width of the styles combos in the url tabpage
Change-Id: Idcc4043b70c30ccc693c9c5ac983bfabe0573862 Reviewed-on: https://gerrit.libreoffice.org/62353 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/mgetempl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx
index c3c249ada7df..b306b477dc93 100644
--- a/sfx2/source/dialog/mgetempl.cxx
+++ b/sfx2/source/dialog/mgetempl.cxx
@@ -70,6 +70,7 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage(TabPageParent pParent, const Sf
{
m_xNameRo->set_size_request(m_xNameRw->get_preferred_size().Width(), -1);
m_xFollowLb->make_sorted();
+ // tdf#120188 like SwCharURLPage limit the width of the style combos
const int nMaxWidth(m_xFollowLb->get_approximate_digit_width() * 50);
m_xFollowLb->set_size_request(nMaxWidth , -1);
m_xBaseLb->make_sorted();