For some reasons the scroll bar started overlapping with the resize

knob, or actually for some reasons it didn't for me after r25969.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-06-17 13:46:17 +00:00
parent 2f9135e39a
commit 3764a6db47
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ TermScrollView::TermScrollView(const char* name, BView* child, BView* target,
// Overlap one pixel at the top and the bottom of the scroll bar with
// the menu respectively resize knob for aesthetical reasons.
frame.top -= 1;
frame.bottom += 1;
frame.bottom -= B_H_SCROLL_BAR_HEIGHT - 1;
TermScrollBar* scrollBar = new TermScrollBar(frame, "_VSB_", target, 0,
1000, B_VERTICAL);