Revision: 2530 http://skim-app.svn.sourceforge.net/skim-app/?rev=2530&view=rev Author: hofman Date: 2007-07-19 03:06:06 -0700 (Thu, 19 Jul 2007)
Log Message: ----------- Correct some more layout messed up by nib-loading of the splitview. Modified Paths: -------------- trunk/SKMainWindowController.m Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-19 09:37:36 UTC (rev 2529) +++ trunk/SKMainWindowController.m 2007-07-19 10:06:06 UTC (rev 2530) @@ -246,12 +246,27 @@ [pdfView setFrame:[[pdfContentBox contentView] bounds]]; + float width = NSWidth([leftSideContentBox frame]); NSRect frame = [leftSideBox frame]; - frame.size.width = NSWidth([leftSideContentBox frame]); + frame.size.width = width; [leftSideBox setFrame:frame]; + frame = [leftSideEdgeView frame]; + frame.size.width = width; + [leftSideEdgeView setFrame:frame]; + frame = [currentLeftSideView frame]; + frame.size.width = width; + [currentLeftSideView setFrame:frame]; + + width = NSWidth([rightSideContentBox frame]); frame = [rightSideBox frame]; - frame.size.width = NSWidth([rightSideContentBox frame]); + frame.size.width = width; [rightSideBox setFrame:frame]; + frame = [rightSideEdgeView frame]; + frame.size.width = width; + [rightSideEdgeView setFrame:frame]; + frame = [currentRightSideView frame]; + frame.size.width = width; + [currentRightSideView setFrame:frame]; frame = [leftSideButton frame]; frame.size.height = SEGMENTED_CONTROL_HEIGHT; 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 DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit