adium 4263:168c9aafa487: Ensure our views are layedout with the ...

commits at adium.im commits at adium.im
Fri Oct 28 21:53:34 UTC 2011


details:	http://hg.adium.im/adium/rev/168c9aafa487
revision:	4263:168c9aafa487
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Fri Oct 28 14:53:13 2011 -0700

Ensure our views are layedout with the proper width when showing the account selection view. Fixes #15575.

diffs (11 lines):

diff -r f7c9f6927d1a -r 168c9aafa487 Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m	Fri Oct 28 14:11:08 2011 -0700
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m	Fri Oct 28 14:53:13 2011 -0700
@@ -711,6 +711,7 @@
 	
 	NSRect verticalFrame = splitView_verticalSplit.frame;
 	verticalFrame.size.height = NSHeight(view_contents.frame) - accountSelectionHeight - NSMinY(verticalFrame) - 2;
+	verticalFrame.size.width = NSWidth(view_contents.frame);
 	[splitView_verticalSplit setFrame:verticalFrame];
 	
 	[view_accountSelection setFrameOrigin:NSMakePoint(NSMinX(splitView_verticalSplit.frame), NSMaxY(splitView_verticalSplit.frame))];




More information about the commits mailing list