Revision: 12518
          http://sourceforge.net/p/skim-app/code/12518
Author:   hofman
Date:     2021-11-04 15:53:02 +0000 (Thu, 04 Nov 2021)
Log Message:
-----------
Use plain style for transitions table

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

Modified: trunk/SKPresentationOptionsSheetController.m
===================================================================
--- trunk/SKPresentationOptionsSheetController.m        2021-11-03 15:53:01 UTC 
(rev 12517)
+++ trunk/SKPresentationOptionsSheetController.m        2021-11-04 15:53:02 UTC 
(rev 12518)
@@ -241,6 +241,12 @@
     
     [cell release];
     
+    if ([tableView respondsToSelector:@selector(setStyle:)])
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wpartial-availability"
+        [tableView setStyle:NSTableViewStylePlain];
+#pragma clang diagnostic pop
+    
     NSScrollView *scrollView = [tableView enclosingScrollView];
     CGFloat width = [[[tableView tableColumns] valueForKeyPath:@"@sum.width"] 
doubleValue] + NSWidth([scrollView frame]) - [scrollView contentSize].width + 
3.0 * [tableView intercellSpacing].width;
     [tableWidthConstraint setConstant:width];

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