Revision: 16291
          http://sourceforge.net/p/skim-app/code/16291
Author:   hofman
Date:     2026-05-12 21:50:11 +0000 (Tue, 12 May 2026)
Log Message:
-----------
correct rowheight offset

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

Modified: trunk/SKMainWindowController_UI.m
===================================================================
--- trunk/SKMainWindowController_UI.m   2026-05-12 15:29:16 UTC (rev 16290)
+++ trunk/SKMainWindowController_UI.m   2026-05-12 21:50:11 UTC (rev 16291)
@@ -614,7 +614,7 @@
         NSTextFieldCell *cell = [tc dataCell];
         [cell setObjectValue:[[[leftSideController.findArrayController 
arrangedObjects] objectAtIndex:row] contextString]];
         CGFloat height = [cell cellSizeForBounds:NSMakeRect(0.0, 0.0, [tc 
width], CGFLOAT_MAX)].height;
-        if (height > MAX_FIND_LINES * (rowHeight - 3.0))
+        if (height > MAX_FIND_LINES * (rowHeight - 5.0))
             height = fmin(height, MAX_FIND_LINES * [cell 
cellSizeForBounds:NSMakeRect(0.0, 0.0, CGFLOAT_MAX, CGFLOAT_MAX)].height);
         return fmax(rowHeight, height + EXTRA_FIND_ROW_HEIGHT);
     } else if ([tv isEqual:leftSideController.groupedFindTableView]) {

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to