Revision: 3017
http://skim-app.svn.sourceforge.net/skim-app/?rev=3017&view=rev
Author: hofman
Date: 2007-10-05 12:06:51 -0700 (Fri, 05 Oct 2007)
Log Message:
-----------
Set the full frame of splitview subviews ourselves, as the PDFView has layout
problems if it is done in stages.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-10-03 20:20:15 UTC (rev 3016)
+++ trunk/SKMainWindowController.m 2007-10-05 19:06:51 UTC (rev 3017)
@@ -4938,6 +4938,7 @@
mainFrame.size.width = contentWidth - NSWidth(leftFrame) -
NSWidth(rightFrame);
mainFrame.origin.x = NSMaxX(leftFrame) + [sender dividerThickness];
rightFrame.origin.x = NSMaxX(mainFrame) + [sender
dividerThickness];
+ leftFrame.size.height = rightFrame.size.height =
mainFrame.size.height = NSHeight([sender frame]);
[leftView setFrame:leftFrame];
[rightView setFrame:rightFrame];
[mainView setFrame:mainFrame];
@@ -4960,6 +4961,7 @@
primaryFrame.size.height = contentHeight -
NSHeight(secondaryFrame);
primaryFrame.origin.x = NSMaxY(secondaryFrame) + [sender
dividerThickness];
+ primaryFrame.size.width = secondaryFrame.size.width =
NSWidth([sender frame]);
[primaryView setFrame:primaryFrame];
[secondaryView setFrame:secondaryFrame];
} else {
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