From 59cd64ac3cd705b8299cc0b5ec682c0c2b821b33 Mon Sep 17 00:00:00 2001 From: Ryan Leavengood Date: Mon, 8 Jun 2009 05:46:16 +0000 Subject: [PATCH] Overlapping the top of the scrollbar button no longer makes sense with a tabbed Terminal. It just makes the button look improperly clipped when tabs are being used. I am not totally happy in how this looks though, and if someone has other ideas feel free to fix it up (maybe a line under the tabs when they are showing?) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30994 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/terminal/TermScrollView.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apps/terminal/TermScrollView.cpp b/src/apps/terminal/TermScrollView.cpp index 12fc1abaa1..4497a9eebd 100644 --- a/src/apps/terminal/TermScrollView.cpp +++ b/src/apps/terminal/TermScrollView.cpp @@ -42,9 +42,8 @@ TermScrollView::TermScrollView(const char* name, BView* child, BView* target, BRect frame(fVerticalScrollBar->Frame()); RemoveChild(fVerticalScrollBar); - // 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; + // Overlap one pixel at the bottom of the scroll bar with + // the resize knob for aesthetical reasons. frame.bottom -= B_H_SCROLL_BAR_HEIGHT - 1; TermScrollBar* scrollBar = new TermScrollBar(frame, "_VSB_", target, 0,