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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Aug 27 07:29:09 UTC 2021


 svx/source/form/tbxform.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 659d8d14037706f52ac2106113aedc27334c7e1f
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Aug 26 15:34:46 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Aug 27 09:28:35 2021 +0200

    Resolves: tdf#143159 reserve space for 6 characters/digits
    
    Change-Id: I44bcdf55a9b1d34e046b93e6a15f4019a925844d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121119
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index d38922a3b79a..b42709dda10e 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -36,6 +36,8 @@ SvxFmAbsRecWin::SvxFmAbsRecWin(vcl::Window* pParent, SfxToolBoxControl* pControl
     : RecordItemWindow(pParent)
     , m_pController(pController)
 {
+    m_xWidget->set_width_chars(6);
+    SetSizePixel(m_xWidget->get_preferred_size());
 }
 
 void SvxFmAbsRecWin::PositionFired(sal_Int64 nRecord)


More information about the Libreoffice-commits mailing list