Revision: 12757
          http://sourceforge.net/p/skim-app/code/12757
Author:   hofman
Date:     2022-01-31 15:20:14 +0000 (Mon, 31 Jan 2022)
Log Message:
-----------
don't set minSize/maxSize of toolbar items on 11.0+

Modified Paths:
--------------
    trunk/SKDownloadController.m

Modified: trunk/SKDownloadController.m
===================================================================
--- trunk/SKDownloadController.m        2022-01-30 23:46:43 UTC (rev 12756)
+++ trunk/SKDownloadController.m        2022-01-31 15:20:14 UTC (rev 12757)
@@ -608,8 +608,10 @@
     } else if ([itemIdent 
isEqualToString:SKDownloadsToolbarClearItemIdentifier]) {
         item = [[[NSToolbarItem alloc] 
initWithItemIdentifier:SKDownloadsToolbarClearItemIdentifier] autorelease];
         [item setView:clearButton];
-        [item setMinSize:[clearButton bounds].size];
-        [item setMaxSize:[clearButton bounds].size];
+        if(!RUNNING_AFTER(10_15)){
+            [item setMinSize:[clearButton bounds].size];
+            [item setMaxSize:[clearButton bounds].size];
+        }
     }
     return item;
 }

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



_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to