svtools/source/control/fmtfield.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ef4fb3976af2a9e05a54c796067246862b2f0c73 Author: Tomaž Vajngerl <[email protected]> Date: Mon May 26 10:13:45 2014 +0200 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 diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index 272955d..df5f665 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); }
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
