[Haiku-commits] r30994 - haiku/trunk/src/apps/terminal

leavengood at BerliOS leavengood at mail.berlios.de
Mon Jun 8 07:46:16 CEST 2009


Author: leavengood
Date: 2009-06-08 07:46:16 +0200 (Mon, 08 Jun 2009)
New Revision: 30994
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=30994&view=rev

Modified:
   haiku/trunk/src/apps/terminal/TermScrollView.cpp
Log:
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?)


Modified: haiku/trunk/src/apps/terminal/TermScrollView.cpp
===================================================================
--- haiku/trunk/src/apps/terminal/TermScrollView.cpp	2009-06-07 22:23:46 UTC (rev 30993)
+++ haiku/trunk/src/apps/terminal/TermScrollView.cpp	2009-06-08 05:46:16 UTC (rev 30994)
@@ -42,9 +42,8 @@
 		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,




More information about the Haiku-commits mailing list