Revision: 3239
http://skim-app.svn.sourceforge.net/skim-app/?rev=3239&view=rev
Author: hofman
Date: 2007-11-23 05:33:38 -0800 (Fri, 23 Nov 2007)
Log Message:
-----------
Resize table after toggle of side pane, as autoresizing does not always work
properly.
Modified Paths:
--------------
trunk/SKMainWindowController.m
Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m 2007-11-23 12:12:12 UTC (rev 3238)
+++ trunk/SKMainWindowController.m 2007-11-23 13:33:38 UTC (rev 3239)
@@ -2044,6 +2044,14 @@
[self splitViewDidResizeSubviews:nil];
}
+ if ([currentLeftSideView isEqual:thumbnailView])
+ [thumbnailTableView sizeToFit];
+ else if ([currentLeftSideView isEqual:outlineView])
+ [outlineView sizeToFit];
+ else if ([currentLeftSideView isEqual:findView])
+ [findTableView sizeToFit];
+ else if ([currentLeftSideView isEqual:groupedFindView])
+ [groupedFindTableView sizeToFit];
}
- (IBAction)toggleRightSidePane:(id)sender {
@@ -2085,6 +2093,10 @@
[self splitViewDidResizeSubviews:nil];
}
+ if ([currentRightSideView isEqual:noteView])
+ [noteOutlineView sizeToFit];
+ else if ([currentRightSideView isEqual:snapshotView])
+ [snapshotTableView sizeToFit];
}
- (IBAction)changeLeftSidePaneState:(id)sender {
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit