Revision: 29190 http://sourceforge.net/p/bibdesk/svn/29190 Author: hofman Date: 2025-04-24 15:42:35 +0000 (Thu, 24 Apr 2025) Log Message: ----------- inset frame for background view by border
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-24 15:40:44 UTC (rev 29189) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFileView.m 2025-04-24 15:42:35 UTC (rev 29190) @@ -1103,8 +1103,12 @@ NSScrollView *scrollView = [self enclosingScrollView]; if ((scrollView && [[notification object] isEqual:[self superview]]) || (scrollView == nil && [[notification object] isEqual:self])) { [self _recalculateGridSize]; - if (scrollView) - [_backgroundView setFrame:[scrollView bounds]]; + if (scrollView) { + NSRect frame = [scrollView bounds]; + if ([scrollView borderType] != NSNoBorder) + frame = NSInsetRect(frame, 1.0, 1.0); + [_backgroundView setFrame:frame]; + } } } 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