summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-05-26 10:13:45 +0200
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-08-17 10:41:12 +0200
commitef4fb3976af2a9e05a54c796067246862b2f0c73 (patch)
tree745de735d00db8791c883a3979bee2213f49f9dd /svtools
parentc67026f27023008d124c8ab76533169f032b04f6 (diff)
svtools: show spin for FormattedField
User can increase / decrease values in FormattedField with scrolling with the mouse, so there is no reason to hide the spin buttons. Change-Id: Ie342f456cdb45c1d7287df70faa786c0e7dc2425
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/fmtfield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx
index 272955d97b75..df5f6656cdde 100644
--- a/svtools/source/control/fmtfield.cxx
+++ b/svtools/source/control/fmtfield.cxx
@@ -330,7 +330,7 @@ FormattedField::FormattedField(Window* pParent, WinBits nStyle, SvNumberFormatte
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeFormattedField(Window *pParent, VclBuilder::stringmap &)
{
- WinBits nWinBits = WB_BORDER;
+ WinBits nWinBits = WB_BORDER | WB_SPIN;
return new FormattedField(pParent, nWinBits);
}