[Adium-commits] adium 1980:9487d4094b54: Size down the height of the tab bar whe...

adium-commits at adiumx.com adium-commits at adiumx.com
Sat Apr 25 23:40:01 UTC 2009


details:	http://hg.adiumx.com/adium/rev/9487d4094b54
revision:	1980:9487d4094b54
author:		Zachary West <zacw at adiumx.com>
date:		Sat Apr 25 19:39:55 2009 -0400

Size down the height of the tab bar when positiond on the top.

Correctly completes http://hg.adiumx.com/adium/rev/4130065c831c (and looks better than before, too).

diffstat:

 Plugins/Dual Window Interface/AIMessageWindowController.m |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 4130065c831c -r 9487d4094b54 Plugins/Dual Window Interface/AIMessageWindowController.m
--- a/Plugins/Dual Window Interface/AIMessageWindowController.m	Sat Apr 25 19:36:01 2009 -0400
+++ b/Plugins/Dual Window Interface/AIMessageWindowController.m	Sat Apr 25 19:39:55 2009 -0400
@@ -342,6 +342,9 @@
 						[tabView_tabBar setAutoresizingMask:(NSViewMaxYMargin | NSViewWidthSizable)];
 						
 					} else {
+						// This arbitrary sizedown is so that top tabs look visually connected to their content below.
+						tabBarFrame.size.height -= 3;
+						
 						tabBarFrame.origin.y = NSMaxY(contentRect) - NSHeight(tabBarFrame);
 						tabViewMessagesFrame.origin.y = NSMinY(contentRect);
 						tabViewMessagesFrame.size.height = NSHeight(contentRect) - NSHeight(tabBarFrame);




More information about the commits mailing list