Revision: 5209
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5209&view=rev
Author:   hofman
Date:     2009-02-12 13:43:36 +0000 (Thu, 12 Feb 2009)

Log Message:
-----------
use correct view to get size for status bar

Modified Paths:
--------------
    trunk/SKNotesDocument.m

Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m     2009-02-12 12:08:57 UTC (rev 5208)
+++ trunk/SKNotesDocument.m     2009-02-12 13:43:36 UTC (rev 5209)
@@ -330,7 +330,7 @@
 
 - (IBAction)toggleStatusBar:(id)sender {
     if (statusBar == nil) {
-        statusBar = [[SKStatusBar alloc] initWithFrame:NSMakeRect(0.0, 0.0, 
NSWidth([splitView frame]), 22.0)];
+        statusBar = [[SKStatusBar alloc] initWithFrame:NSMakeRect(0.0, 0.0, 
NSWidth([[outlineView enclosingScrollView] frame]), 22.0)];
         [statusBar setAutoresizingMask:NSViewWidthSizable | NSViewMaxYMargin];
     }
     [statusBar toggleBelowView:[outlineView enclosingScrollView] offset:1.0];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to