Revision: 29123
http://sourceforge.net/p/bibdesk/svn/29123
Author: hofman
Date: 2025-04-17 15:06: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
15:05:26 UTC (rev 29122)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-17
15:06:27 UTC (rev 29123)
@@ -1168,9 +1168,8 @@
{
NSSize size = DEFAULT_PADDING;
// ??? magic number here... using a fixed padding looked funny at some
sizes, so this is now adjustable
- CGFloat extraPadding = 2 * round( PADDING_STRETCH * scale / 2 );
- size.width += extraPadding;
- size.height += extraPadding + [self _textHeight];
+ size.width += 2 * round( PADDING_STRETCH * scale / 2 );
+ size.height += round( PADDING_STRETCH * scale ) + [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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit