Revision: 2578
http://skim-app.svn.sourceforge.net/skim-app/?rev=2578&view=rev
Author: hofman
Date: 2007-07-28 07:03:34 -0700 (Sat, 28 Jul 2007)
Log Message:
-----------
Fix nib archiving/unarchiving bug: force the boxes in the splitview to
autoresize their subviews.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-07-28 12:43:41 UTC (rev 2577)
+++ trunk/SKMainWindowController.m 2007-07-28 14:03:34 UTC (rev 2578)
@@ -264,6 +264,12 @@
[[rightSideButton cell] setToolTip:NSLocalizedString(@"View Notes", @"Tool
tip message") forSegment:SKNoteSidePaneState];
[[rightSideButton cell] setToolTip:NSLocalizedString(@"View Snapshots",
@"Tool tip message") forSegment:SKSnapshotSidePaneState];
+ // This gets sometimes messed up in the nib, AppKit bug rdar://5346690
+ [leftSideContentBox setAutoresizesSubviews:YES];
+ [[leftSideContentBox contentView] setAutoresizesSubviews:YES];
+ [rightSideContentBox setAutoresizesSubviews:YES];
+ [[rightSideContentBox contentView] setAutoresizesSubviews:YES];
+
[leftSideContentView setFrame:[leftSideContentBox bounds]];
[leftSideContentBox addSubview:leftSideContentView];
[rightSideContentView setFrame:[rightSideContentBox bounds]];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit