Revision: 5076
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5076&view=rev
Author:   hofman
Date:     2008-12-19 18:14:22 +0000 (Fri, 19 Dec 2008)

Log Message:
-----------
Size page column in main window also in tables with headers, and don't allow 
manual resizing of the columns

Modified Paths:
--------------
    trunk/MainWindow.nib/classes.nib
    trunk/MainWindow.nib/info.nib
    trunk/MainWindow.nib/keyedobjects.nib
    trunk/SKMainWindowController.m

Modified: trunk/MainWindow.nib/classes.nib
===================================================================
--- trunk/MainWindow.nib/classes.nib    2008-12-18 10:56:44 UTC (rev 5075)
+++ trunk/MainWindow.nib/classes.nib    2008-12-19 18:14:22 UTC (rev 5076)
@@ -80,19 +80,19 @@
                </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>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>ACTIONS</key>
@@ -536,14 +536,6 @@
                </dict>
                <dict>
                        <key>CLASS</key>
-                       <string>NSSegmentedControl</string>
-                       <key>LANGUAGE</key>
-                       <string>ObjC</string>
-                       <key>SUPERCLASS</key>
-                       <string>NSControl</string>
-               </dict>
-               <dict>
-                       <key>CLASS</key>
                        <string>SKAnnotationTypeImageCell</string>
                        <key>LANGUAGE</key>
                        <string>ObjC</string>
@@ -552,11 +544,11 @@
                </dict>
                <dict>
                        <key>CLASS</key>
-                       <string>BDSKCollapsibleView</string>
+                       <string>NSSegmentedControl</string>
                        <key>LANGUAGE</key>
                        <string>ObjC</string>
                        <key>SUPERCLASS</key>
-                       <string>BDSKContainerView</string>
+                       <string>NSControl</string>
                </dict>
                <dict>
                        <key>ACTIONS</key>
@@ -591,6 +583,14 @@
                </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-18 10:56:44 UTC (rev 5075)
+++ trunk/MainWindow.nib/info.nib       2008-12-19 18:14:22 UTC (rev 5076)
@@ -10,7 +10,9 @@
        <integer>4</integer>
        <key>IBOpenObjects</key>
        <array>
-               <integer>315</integer>
+               <integer>797</integer>
+               <integer>225</integer>
+               <integer>513</integer>
        </array>
        <key>IBSystem Version</key>
        <string>9G55</string>

Modified: trunk/MainWindow.nib/keyedobjects.nib
===================================================================
(Binary files differ)

Modified: trunk/SKMainWindowController.m
===================================================================
--- trunk/SKMainWindowController.m      2008-12-18 10:56:44 UTC (rev 5075)
+++ trunk/SKMainWindowController.m      2008-12-19 18:14:22 UTC (rev 5076)
@@ -629,7 +629,7 @@
 - (void)updatePageColumnWidthForTableView:(NSTableView *)tv {
     NSTableColumn *tableColumn = [tv 
tableColumnWithIdentifier:SKMainWindowPageColumnIdentifier];
     id cell = [tableColumn dataCell];
-    float labelWidth = 0.0;
+    float labelWidth = [tv headerView] ? [[tableColumn headerCell] 
cellSize].width : 0.0;
     NSEnumerator *labelEnum = [pageLabels objectEnumerator];
     NSString *label;
     
@@ -660,6 +660,9 @@
     [self updatePageColumnWidthForTableView:thumbnailTableView];
     [self updatePageColumnWidthForTableView:snapshotTableView];
     [self updatePageColumnWidthForTableView:outlineView];
+    [self updatePageColumnWidthForTableView:noteOutlineView];
+    [self updatePageColumnWidthForTableView:findTableView];
+    [self updatePageColumnWidthForTableView:groupedFindTableView];
     
     // this uses the pageLabels
     [[thumbnailTableView typeSelectHelper] rebuildTypeSelectSearchCache];


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

------------------------------------------------------------------------------
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to