From 3764a6db479bfddbaa9cfac4d864014148adb5ab Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 17 Jun 2008 13:46:17 +0000 Subject: [PATCH] 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 --- src/apps/terminal/TermScrollView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/terminal/TermScrollView.cpp b/src/apps/terminal/TermScrollView.cpp index 8e3f1e2ce4..77f193e1b0 100644 --- a/src/apps/terminal/TermScrollView.cpp +++ b/src/apps/terminal/TermScrollView.cpp @@ -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);