Revision: 5073
http://skim-app.svn.sourceforge.net/skim-app/?rev=5073&view=rev
Author: hofman
Date: 2008-12-17 17:58:22 +0000 (Wed, 17 Dec 2008)
Log Message:
-----------
Reduce minimal row height of thumbnail and snapshot table to 32
Modified Paths:
--------------
trunk/MainWindow.nib/classes.nib
trunk/MainWindow.nib/info.nib
trunk/MainWindow.nib/keyedobjects.nib
trunk/SKMainWindowController_UI.m
Modified: trunk/MainWindow.nib/classes.nib
===================================================================
--- trunk/MainWindow.nib/classes.nib 2008-12-16 20:50:05 UTC (rev 5072)
+++ trunk/MainWindow.nib/classes.nib 2008-12-17 17:58:22 UTC (rev 5073)
@@ -80,19 +80,19 @@
</dict>
<dict>
<key>CLASS</key>
- <string>NSMenu</string>
+ <string>NSWindowController</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
- <string>NSObject</string>
+ <string>NSResponder</string>
</dict>
<dict>
<key>CLASS</key>
- <string>NSWindowController</string>
+ <string>NSMenu</string>
<key>LANGUAGE</key>
<string>ObjC</string>
<key>SUPERCLASS</key>
- <string>NSResponder</string>
+ <string>NSObject</string>
</dict>
<dict>
<key>ACTIONS</key>
@@ -243,6 +243,8 @@
<string>id</string>
<key>toggleAutoScale</key>
<string>id</string>
+ <key>toggleCaseInsensitiveNoteSearch</key>
+ <string>id</string>
<key>toggleCaseInsensitiveSearch</key>
<string>id</string>
<key>toggleDisplayAsBook</key>
@@ -403,7 +405,7 @@
<key>snapshotArrayController</key>
<string>NSArrayController</string>
<key>snapshotTableView</key>
- <string>SKSnapshotTableView</string>
+ <string>SKThumbnailTableView</string>
<key>snapshotView</key>
<string>NSView</string>
<key>splitView</key>
@@ -465,14 +467,6 @@
</dict>
<dict>
<key>CLASS</key>
- <string>SKSnapshotTableView</string>
- <key>LANGUAGE</key>
- <string>ObjC</string>
- <key>SUPERCLASS</key>
- <string>SKThumbnailTableView</string>
- </dict>
- <dict>
- <key>CLASS</key>
<string>NSTextFieldCell</string>
<key>LANGUAGE</key>
<string>ObjC</string>
@@ -505,6 +499,14 @@
</dict>
<dict>
<key>CLASS</key>
+ <string>NSScrollView</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>NSView</string>
+ </dict>
+ <dict>
+ <key>CLASS</key>
<string>SKSegmentedControl</string>
<key>LANGUAGE</key>
<string>ObjC</string>
@@ -526,14 +528,6 @@
</dict>
<dict>
<key>CLASS</key>
- <string>NSScrollView</string>
- <key>LANGUAGE</key>
- <string>ObjC</string>
- <key>SUPERCLASS</key>
- <string>NSView</string>
- </dict>
- <dict>
- <key>CLASS</key>
<string>NSImageCell</string>
<key>LANGUAGE</key>
<string>ObjC</string>
@@ -557,6 +551,14 @@
<string>NSImageCell</string>
</dict>
<dict>
+ <key>CLASS</key>
+ <string>BDSKCollapsibleView</string>
+ <key>LANGUAGE</key>
+ <string>ObjC</string>
+ <key>SUPERCLASS</key>
+ <string>BDSKContainerView</string>
+ </dict>
+ <dict>
<key>ACTIONS</key>
<dict>
<key>editBookmarks</key>
@@ -589,14 +591,6 @@
</dict>
<dict>
<key>CLASS</key>
- <string>BDSKCollapsibleView</string>
- <key>LANGUAGE</key>
- <string>ObjC</string>
- <key>SUPERCLASS</key>
- <string>BDSKContainerView</string>
- </dict>
- <dict>
- <key>CLASS</key>
<string>SKSnapshotPageCell</string>
<key>LANGUAGE</key>
<string>ObjC</string>
Modified: trunk/MainWindow.nib/info.nib
===================================================================
--- trunk/MainWindow.nib/info.nib 2008-12-16 20:50:05 UTC (rev 5072)
+++ trunk/MainWindow.nib/info.nib 2008-12-17 17:58:22 UTC (rev 5073)
@@ -13,7 +13,7 @@
<integer>315</integer>
</array>
<key>IBSystem Version</key>
- <string>9F33</string>
+ <string>9G55</string>
<key>targetFramework</key>
<string>IBCocoaFramework</string>
</dict>
Modified: trunk/MainWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m 2008-12-16 20:50:05 UTC (rev 5072)
+++ trunk/SKMainWindowController_UI.m 2008-12-17 17:58:22 UTC (rev 5073)
@@ -357,7 +357,7 @@
else if (thumbSize.width / thumbSize.height < cellSize.width /
cellSize.height)
return cellSize.height;
else
- return fmaxf(1.0, fminf(cellSize.width, thumbSize.width) *
thumbSize.height / thumbSize.width);
+ return fmaxf([tv rowHeight], fminf(cellSize.width,
thumbSize.width) * thumbSize.height / thumbSize.width);
} else if ([tv isEqual:snapshotTableView]) {
NSSize thumbSize = [[[[snapshotArrayController arrangedObjects]
objectAtIndex:row] thumbnail] size];
NSSize cellSize = NSMakeSize([[tv
tableColumnWithIdentifier:SKMainWindowImageColumnIdentifier] width],
@@ -367,7 +367,7 @@
else if (thumbSize.width / thumbSize.height < cellSize.width /
cellSize.height)
return cellSize.height;
else
- return fmaxf(32.0, fminf(cellSize.width, thumbSize.width) *
thumbSize.height / thumbSize.width);
+ return fmaxf([tv rowHeight], fminf(cellSize.width,
thumbSize.width) * thumbSize.height / thumbSize.width);
}
return [tv rowHeight];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit