[Libreoffice-commits] core.git: svx/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 23 11:45:05 UTC 2020


 svx/source/tbxctrls/tbcontrl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 259fedf599e9c1ec9b007c30b44d2dc07eaca98e
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 23 09:07:53 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 23 13:44:31 2020 +0200

    Resolves: tdf#132338 combobox 1 character narrower than it used to be
    
    Change-Id: I9b24c654a9d209c5d52eebf852b6dca436a782b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92742
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 6c221b287997..3e47e41c8cdd 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1400,7 +1400,7 @@ SvxFontNameBox_Base::SvxFontNameBox_Base(std::unique_ptr<weld::ComboBox> xWidget
                                          const Reference<XFrame>& rFrame,
                                          SvxFontNameToolBoxControl& rCtrl)
     : m_rCtrl(rCtrl)
-    , m_nCharWidth(xWidget->get_approximate_digit_width() * 15)
+    , m_nCharWidth(xWidget->get_approximate_digit_width() * 16)
     , m_xWidget(new FontNameBox(std::move(xWidget)))
     , pFontList(nullptr)
     , nFtCount(0)


More information about the Libreoffice-commits mailing list