Revision: 29121
          http://sourceforge.net/p/bibdesk/svn/29121
Author:   hofman
Date:     2025-04-17 15:04:27 +0000 (Thu, 17 Apr 2025)
Log Message:
-----------
Make sure padding divided over left and right are integral

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-17 
14:45:21 UTC (rev 29120)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m      2025-04-17 
15:04:27 UTC (rev 29121)
@@ -1169,7 +1169,7 @@
     NSSize size = DEFAULT_PADDING;
     // ??? magic number here... using a fixed padding looked funny at some 
sizes, so this is now adjustable
     CGFloat extraPadding = round(PADDING_STRETCH * scale);
-    size.width += extraPadding;
+    size.width += 2 * round(extraPadding / 2);
     size.height += extraPadding + [self _textHeight];
     return size;
 }

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



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to