summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-26 15:34:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-27 09:28:35 +0200
commit659d8d14037706f52ac2106113aedc27334c7e1f (patch)
tree913cb13453808b6e38c8e418f199a5bf4270044c /svx/source/form
parent1748ebf646b22278a618534823a10933ce0f5fa1 (diff)
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@redhat.com>
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/tbxform.cxx2
1 files changed, 2 insertions, 0 deletions
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)