Revision: 18001
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18001&view=rev
Author:   hofman
Date:     2011-07-08 10:27:07 +0000 (Fri, 08 Jul 2011)

Log Message:
-----------
Initially set pref window height for icon view so we get a better restore of 
previous frame, though still does not work when another pane was selected 
before as autosaving sets the frame origin rather than the top when the window 
is not resizable.

Modified Paths:
--------------
    trunk/bibdesk/BDSKPreferenceController.m

Modified: trunk/bibdesk/BDSKPreferenceController.m
===================================================================
--- trunk/bibdesk/BDSKPreferenceController.m    2011-07-08 06:35:23 UTC (rev 
18000)
+++ trunk/bibdesk/BDSKPreferenceController.m    2011-07-08 10:27:07 UTC (rev 
18001)
@@ -138,6 +138,7 @@
         width = fmax(width, NSWidth([[pane view] frame]));
     NSRect frame = [[self window] frame];
     frame.size.width = width;
+    frame.size.height -= NSHeight([[[self window] contentView] frame]) - 
NSHeight([iconView frame]);
     [[self window] setFrame:frame display:NO];
     frame = [iconView frame];
     frame.size.width = width;


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

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to