sc/source/ui/view/tabcont.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 6894ebffe4154887fd8b2521b5c5d1980dfe9e62 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.com> Date: Wed Oct 14 22:31:09 2015 +0200 tdf#93318 reintroduce first/last button in Calc tab bar Seems that first/last button are still useful when there are a lot of tabs. Using ctrl+click is not discoverable enough for the users so for now bring the buttons back. Also turn on enabling/disabling buttons when they have some effect (this was turned off for Calc for unknown reasons). Change-Id: I6bbb04d44066ebc6b89fe3d941ecafdbb378284a (cherry picked from commit b6fe593c8a60cc689e1bbb4d92d7cad89785be0d) Reviewed-on: https://gerrit.libreoffice.org/19380 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index 1c19b55..b8eaf10 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -38,7 +38,7 @@ // STATIC DATA ----------------------------------------------------------- ScTabControl::ScTabControl( vcl::Window* pParent, ScViewData* pData ) - : TabBar(pParent, WB_3DLOOK | WB_MINSCROLL | WB_RANGESELECT | WB_MULTISELECT | WB_DRAG) + : TabBar(pParent, WB_3DLOOK | WB_MINSCROLL | WB_SCROLL | WB_RANGESELECT | WB_MULTISELECT | WB_DRAG) , DropTargetHelper(this) , DragSourceHelper(this) , pViewData(pData) @@ -79,7 +79,7 @@ ScTabControl::ScTabControl( vcl::Window* pParent, ScViewData* pData ) EnableEditMode(); UpdateInputContext(); - SetScrollAlwaysEnabled(true); + SetScrollAlwaysEnabled(false); SetScrollAreaContextHdl( LINK( this, ScTabControl, ShowPageList ) ); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits