summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview5.cxx
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2002-07-19 14:47:15 +0000
committerStephan Schäfer <ssa@openoffice.org>2002-07-19 14:47:15 +0000
commit802c21b574ae32140e9fb6fafbb1b17a5a002fd5 (patch)
tree73166a3df3bd44c0ac0233e3832469f0f17c9fbb /sc/source/ui/view/tabview5.cxx
parent2cadc91cc3c315d5f36d65d0959eeaf4d41da728 (diff)
#98154# set minimal splitter stepsize for cursor movement
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r--sc/source/ui/view/tabview5.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 99e1fd52c56f..d220001aee2b 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tabview5.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: sab $ $Date: 2002-05-31 07:42:57 $
+ * last change: $Author: ssa $ $Date: 2002-07-19 15:47:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -131,6 +131,10 @@ void __EXPORT ScTabView::Init()
pHSplitter = new ScTabSplitter( pFrameWin, WinBits( WB_HSCROLL ), &aViewData );
pVSplitter = new ScTabSplitter( pFrameWin, WinBits( WB_VSCROLL ), &aViewData );
+ // SSA: override default keyboard step size to allow snap to row/column
+ pHSplitter->SetKeyboardStepSize( 1 );
+ pVSplitter->SetKeyboardStepSize( 1 );
+
pTabControl = new ScTabControl( pFrameWin, &aViewData );
//MI: nie! das war mal eine MUSS-Aenderung von MBA
//if (!aViewData.IsBasicView())