From 151b6997c05984b9b7cb1147353c285bb83dfde5 Mon Sep 17 00:00:00 2001 From: Philippe Saint-Pierre Date: Sat, 15 Sep 2012 19:29:12 -0400 Subject: [PATCH] Tracker: Moving columns could make an horizontal scrollbar appear --- src/kits/tracker/PoseView.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kits/tracker/PoseView.cpp b/src/kits/tracker/PoseView.cpp index ec2f0879b8..5e228fc4da 100644 --- a/src/kits/tracker/PoseView.cpp +++ b/src/kits/tracker/PoseView.cpp @@ -9324,7 +9324,8 @@ BPoseView::MoveColumnTo(BColumn* src, BColumn* dest) BColumn* column = fColumnList->ItemAt(index); column->SetOffset(offset); last = column; - offset = last->Offset() + last->Width() + kTitleColumnExtraMargin; + offset = last->Offset() + last->Width() + kTitleColumnExtraMargin + - kRoomForLine / 2; } // invalidate everything to the right of miny