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
This commit is contained in:
parent
eab2783a36
commit
59cd64ac3c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user