diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-26 15:34:46 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-08-27 11:21:45 +0200 |
commit | 72fa08057ad46d998f315f17f71c9b8aa65d2e14 (patch) | |
tree | 569624c13807d19b02b2d86994c87961b03d9c77 /svx | |
parent | 76cb48b6a00cde41987a1b67b78fee68a133ad53 (diff) |
Resolves: tdf#143159 reserve space for 6 characters/digits
Change-Id: I44bcdf55a9b1d34e046b93e6a15f4019a925844d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121059
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/tbxform.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx index 7f354f16d2d0..1d9d386d12f7 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) |