Revision: 2645
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2645&view=rev
Author:   hofman
Date:     2007-08-13 10:00:14 -0700 (Mon, 13 Aug 2007)

Log Message:
-----------
Draw status of progress cell in location of progress bar when it is not 
downloading.

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

Modified: trunk/SKProgressCell.m
===================================================================
--- trunk/SKProgressCell.m      2007-08-13 16:16:49 UTC (rev 2644)
+++ trunk/SKProgressCell.m      2007-08-13 17:00:14 UTC (rev 2645)
@@ -91,10 +91,11 @@
         if ([progressIndicator isDescendantOf:controlView] == NO)
             [controlView addSubview:progressIndicator];
     } else { 
-        if ([controlView isFlipped] == NO)
+        if ([controlView isFlipped])
+            textRect.origin.y = NSMinY(cellFrame);
+        else
             textRect.origin.y = NSMaxY(cellFrame) - NSHeight(textRect);
         id value = [[[self objectValue] retain] autorelease];
-        textRect.origin.x += ([[self attributedStringValue] size].width + 
MARGIN_X);
         NSString *string = nil;
         switch (status) {
             case SKDownloadStatusStarting:


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

Reply via email to