Revision: 2529 http://skim-app.svn.sourceforge.net/skim-app/?rev=2529&view=rev Author: hofman Date: 2007-07-19 02:37:36 -0700 (Thu, 19 Jul 2007)
Log Message: ----------- Fix layout of main window. Some boxes had the wrong height and the new search field was not correctly placed. Also nib loading can mess up subviews of splitviews with custom divider widths, so we have to correct that. Modified Paths: -------------- trunk/Dutch.lproj/MainWindow.nib/data.dependency trunk/Dutch.lproj/MainWindow.nib/info.nib trunk/Dutch.lproj/MainWindow.nib/keyedobjects.nib trunk/English.lproj/MainWindow.nib/info.nib trunk/English.lproj/MainWindow.nib/keyedobjects.nib trunk/Italian.lproj/MainWindow.nib/info.nib trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib trunk/SKMainWindowController.m Modified: trunk/Dutch.lproj/MainWindow.nib/data.dependency =================================================================== --- trunk/Dutch.lproj/MainWindow.nib/data.dependency 2007-07-18 22:21:54 UTC (rev 2528) +++ trunk/Dutch.lproj/MainWindow.nib/data.dependency 2007-07-19 09:37:36 UTC (rev 2529) @@ -4,7 +4,6 @@ <dict> <key>IBPaletteDependency</key> <array> - <string>Controllers</string> <string>PDFKit</string> </array> </dict> Modified: trunk/Dutch.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/Dutch.lproj/MainWindow.nib/info.nib 2007-07-18 22:21:54 UTC (rev 2528) +++ trunk/Dutch.lproj/MainWindow.nib/info.nib 2007-07-19 09:37:36 UTC (rev 2529) @@ -3,7 +3,7 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>110 52 564 296 0 0 1440 938 </string> + <string>86 76 564 296 0 0 1440 938 </string> <key>IBEditorPositions</key> <dict> <key>168</key> @@ -25,6 +25,10 @@ <array> <integer>208</integer> </array> + <key>IBOpenObjects</key> + <array> + <integer>5</integer> + </array> <key>IBSystem Version</key> <string>8R218</string> </dict> Modified: trunk/Dutch.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/English.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/English.lproj/MainWindow.nib/info.nib 2007-07-18 22:21:54 UTC (rev 2528) +++ trunk/English.lproj/MainWindow.nib/info.nib 2007-07-19 09:37:36 UTC (rev 2529) @@ -3,7 +3,7 @@ <plist version="1.0"> <dict> <key>IBDocumentLocation</key> - <string>110 52 564 296 0 0 1440 938 </string> + <string>206 62 564 296 0 0 1440 938 </string> <key>IBEditorPositions</key> <dict> <key>168</key> @@ -27,18 +27,18 @@ </array> <key>IBOpenObjects</key> <array> + <integer>511</integer> + <integer>539</integer> <integer>585</integer> <integer>314</integer> - <integer>553</integer> - <integer>502</integer> - <integer>539</integer> + <integer>224</integer> + <integer>256</integer> <integer>168</integer> <integer>208</integer> - <integer>511</integer> - <integer>256</integer> - <integer>224</integer> <integer>633</integer> + <integer>553</integer> <integer>5</integer> + <integer>502</integer> </array> <key>IBSystem Version</key> <string>8R218</string> Modified: trunk/English.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/Italian.lproj/MainWindow.nib/info.nib =================================================================== --- trunk/Italian.lproj/MainWindow.nib/info.nib 2007-07-18 22:21:54 UTC (rev 2528) +++ trunk/Italian.lproj/MainWindow.nib/info.nib 2007-07-19 09:37:36 UTC (rev 2529) @@ -27,13 +27,13 @@ </array> <key>IBOpenObjects</key> <array> - <integer>539</integer> + <integer>168</integer> + <integer>628</integer> + <integer>5</integer> <integer>208</integer> - <integer>168</integer> <integer>553</integer> - <integer>5</integer> + <integer>539</integer> <integer>511</integer> - <integer>628</integer> </array> <key>IBSystem Version</key> <string>8R218</string> Modified: trunk/Italian.lproj/MainWindow.nib/keyedobjects.nib =================================================================== (Binary files differ) Modified: trunk/SKMainWindowController.m =================================================================== --- trunk/SKMainWindowController.m 2007-07-18 22:21:54 UTC (rev 2528) +++ trunk/SKMainWindowController.m 2007-07-19 09:37:36 UTC (rev 2529) @@ -246,7 +246,14 @@ [pdfView setFrame:[[pdfContentBox contentView] bounds]]; - NSRect frame = [leftSideButton frame]; + NSRect frame = [leftSideBox frame]; + frame.size.width = NSWidth([leftSideContentBox frame]); + [leftSideBox setFrame:frame]; + frame = [rightSideBox frame]; + frame.size.width = NSWidth([rightSideContentBox frame]); + [rightSideBox setFrame:frame]; + + frame = [leftSideButton frame]; frame.size.height = SEGMENTED_CONTROL_HEIGHT; [leftSideButton setFrame:frame]; [[leftSideButton cell] setToolTip:NSLocalizedString(@"View Thumbnails", @"Tool tip message") forSegment:SKThumbnailSidePaneState]; 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