Tracker: Moving columns could make an horizontal scrollbar appear

This commit is contained in:
Philippe Saint-Pierre 2012-09-15 19:29:12 -04:00
parent b341f104e9
commit 151b6997c0

View File

@ -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