adium 2521:1b46db381ee2: Patch from Robby Weinberg to fix the ch...

commits at adium.im commits at adium.im
Fri Jun 26 16:55:48 UTC 2009


details:	http://hg.adium.im/adium/rev/1b46db381ee2
revision:	2521:1b46db381ee2
author:		Zachary West <zacw at adium.im>
date:		Fri Jun 26 12:55:21 2009 -0400

Patch from Robby Weinberg to fix the character counter not auto-resizing. Fixes #11996.

diffs (22 lines):

diff -r f9e4063ed226 -r 1b46db381ee2 Copyright.txt
--- a/Copyright.txt	Fri Jun 26 12:49:47 2009 -0400
+++ b/Copyright.txt	Fri Jun 26 12:55:21 2009 -0400
@@ -75,5 +75,6 @@
 Mike Timm
 Ngan Pham
 Jay Weatherstone
+Robby Weinberg
 
 If you have contributed to Adium and are not on this list, please contact us.
diff -r f9e4063ed226 -r 1b46db381ee2 Frameworks/Adium Framework/Source/AIMessageEntryTextView.m
--- a/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m	Fri Jun 26 12:49:47 2009 -0400
+++ b/Frameworks/Adium Framework/Source/AIMessageEntryTextView.m	Fri Jun 26 12:55:21 2009 -0400
@@ -996,7 +996,7 @@
 {
 	if (visible && !characterCounter) {
 		characterCounter = [[AISimpleTextView alloc] initWithFrame:NSZeroRect];
-		[characterCounter setAutoresizingMask:(NSViewMinXMargin)];
+		[characterCounter setAutoresizingMask:(NSViewMinXMargin|NSViewWidthSizable)];
 
 		[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(positionIndicators:) name:NSViewBoundsDidChangeNotification object:[self superview]];
         [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(positionIndicators:) name:NSViewFrameDidChangeNotification object:[self superview]];		




More information about the commits mailing list